About Display Tag

2006-07-23 Thread senthil.s
Hi All     Anyone can tell me the process of using DisplayTag for Pagination in struts.   With Regards Senthil.S This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this emai

RE: Give me a solution

2006-07-23 Thread Tejas Bavishi
Hi One of the ideas ... Create a stored procedure in the database that will be triggered everytime a row is deleted, checks the rowid and rearranges the records based on which row is deleted. Though I am not sure about what performance impact this will have. Thanks Tejas -Original Message-

Re: Give me a solution

2006-07-23 Thread paz . periasamy
Wrong forum post. Eventhough please find a simple solution 1. Create a Staging table. 2. Copy the records from 60-100 in master table into the staging table. 3. Delete the records from 50. 4. Copy back the records from Staging table into the master table. Thanks and regards, Pazhanikanthan. P (

RE: Give me a solution

2006-07-23 Thread Anil Kumar T
I believe this is not a struts based question. You need to post this in SQL Server forums. Anil. From: senthil.s [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 11:26 AM To: user@struts.apache.org Subject: Give me a solution Hi all I have a tabl

Re: HTML Tags and ID

2006-07-23 Thread vijay venkataraman
Hi, As Thomas Joseph mentioned, styleId is a the way to get 'id' in your html document when you are using struts html tags. The value you set in styleId will be set as id of the html element. All input elements that can be represented by struts html tags has a attribute styleId and you can us

Give me a solution

2006-07-23 Thread senthil.s
Hi all    I have a table of records in SQL Server with UniqueID (unique ID enabled with increment of 1 starting from 1 for each record, now I have 100 records in that having Unique ID 1 - 100  now I want to delete records (only 10 records in the middle) having Unique id  50 - 59 and I want t

Re: HTML Tags and ID

2006-07-23 Thread Thomas Joseph
Hi Paul, but I guess, what you want is styleId itself. This will be rendered as an HTML id attruibute. http://struts.apache.org/1.2.9/userGuide/struts-html.html#checkbox Although named style Id, this is the id what we use in DOM. Thanks and Regards, Thomas Joseph - Original Message -

Printing background color in IE

2006-07-23 Thread Anjishnu Bandyopadhyay
Hi all, I want to print an IE screen, along with it's background color. On option is to "Tools --> Internet Options --> Advanced --> Printing" and set the option of printing background colors. But we need an alternative to this. May be in any CSS styles, or JavaScript; or anything like that.

Re: HTML Tags and ID

2006-07-23 Thread Paul Benedict
Instad of switching tag libraries, I may want to add the attribute to the tag. It makes sense to me. Wendy Smoak <[EMAIL PROTECTED]> wrote: On 7/23/06, Paul Benedict wrote: > Wendy, unfortunately no. This is not a style, but a DOM element ID. That's > what the connects to. It's a really cool

Re: HTML Tags and ID

2006-07-23 Thread Wendy Smoak
On 7/23/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Wendy, unfortunately no. This is not a style, but a DOM element ID. That's what the connects to. It's a really cool thing: if you connect a label to a checkbox, you can actually check and uncheck the box by clicking on the label -- just lik

Re: HTML Tags for JComboBox

2006-07-23 Thread Paul Benedict
Chetan, Hmmm.. Usually when you want to use a combo box, you provide both the value and the label for each item. Struts has a class called LabelValueBean; use this to assign the value to each label. Then pass in the array/list of LabelValueBean into or . Struts cannot magically determine what

HTML Tags for JComboBox

2006-07-23 Thread Chetan Pandey
Hi List: I am using a JComboBox in the following manner: : Where holidexCodeVector is a Vector of Strings ( e.g. "BLUES", "IHG", "SINGTEL" etc ) I only want the index of the chosen item, not the String. For examples if User chose "IHG" I should get integer 1 , not the String "IHG" H

Re: HTML Tags and ID

2006-07-23 Thread Paul Benedict
Wendy, unfortunately no. This is not a style, but a DOM element ID. That's what the connects to. It's a really cool thing: if you connect a label to a checkbox, you can actually check and uncheck the box by clicking on the label -- just like good old thick-client programs :) Wendy Smoak <[EMAI

Re: HTML Tags and ID

2006-07-23 Thread Wendy Smoak
On 7/23/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Do the Struts tags allow the HTML id attribute to be set in its form taglibs? I was hoping to find an htmlId or id attribute but did not see one. Am I correct? My goal was to accomplish this: The connects to an HTML ID, not a name. Does

HTML Tags and ID

2006-07-23 Thread Paul Benedict
Do the Struts tags allow the HTML id attribute to be set in its form taglibs? I was hoping to find an htmlId or id attribute but did not see one. Am I correct? My goal was to accomplish this: The connects to an HTML ID, not a name. Paul - Talk

What's the future of Action, events / dispatching and CoC/CoR

2006-07-23 Thread Adam Hardy
I am wondering what the best approach is for my Action classes. I have a need for event dispatching, because some of my forms offer multiple submit choices (buttons / images / links). EventDispatchAction and EventActionDispatcher look good and I am planning on taking the EventDispatchAction and