Re: html:option - is there a selected option attribute?

2003-06-24 Thread Natalie D Rassmann
alie D [mailto:[EMAIL PROTECTED]] > Sent: June 23, 2003 11:43 AM > To: Struts Users Mailing List > Subject: Re: html:option - is there a selected option attribute? > > > Wendy, > > You have been very helpful. This is my first STRUTS app and I seem to > stumble the most on g

Re: html:option - is there a selected option attribute?

2003-06-24 Thread Chad Mathis
To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? Wendy, You have been very helpful. This is my first STRUTS app and I seem to stumble the most on getting these tags to work. I have not found any real documentation examples to help me

html:option - is there a selected option attribute?

2003-06-23 Thread Natalie D Rassmann
I have an Options List and I want to make one of the items in the select list selected. I am using the html-el tags. How do I mark an option as selected?? Is there a way: Thanks in advance, Natalie - To unsubscribe, e-mail:

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Filip Polsakiewicz
- is there a selected option attribute? I have an Options List and I want to make one of the items in the select list selected. I am using the html-el tags. How do I mark an option as selected?? Is there a way: Thanks in advance, Natalie

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Natalie D Rassmann
day, June 23, 2003 12:52 PM > To: Struts Users Mailing List > Subject: html:option - is there a selected option attribute? > > > I have an Options List and I want to make one of the items in the select > list selected. I am using the html-el tags. How do I mark an option as

RE: html:option - is there a selected option attribute?

2003-06-23 Thread PREETAM Balijepalli
its the component property just check it in xml file ,, -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 4:43 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? You lost me; what

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Natalie D Rassmann
23, 2003 4:43 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? You lost me; what corresponding boolean value?? Filip Polsakiewicz wrote: Hi, i had the same problem. Here is the solution. You have to set the corresponding boolean value to true HTH

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Filip Polsakiewicz
-Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 1:13 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? You lost me; what corresponding boolean value?? Filip Polsakiewicz wrote

RE: html:option - is there a selected option attribute?

2003-06-23 Thread PREETAM Balijepalli
hello dear struts-html.tld file is for all html component stuff just go thru it ,, -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 4:47 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Natalie D Rassmann
-- > From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 23, 2003 12:52 PM > To: Struts Users Mailing List > Subject: html:option - is there a selected option attribute? > > > I have an Options List and I want to make one of the items in the select

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Filip Polsakiewicz
attribute select html:option value= selected=selected/option html:option value=/option /select Filip Polsakiewicz wrote: Sorry i was sleeping :-) I thought you were talking of checkboxes. Well i'd say it's not much different. In your formbeans reset method

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Natalie D Rassmann
: Natalie D Rassmann [mailto:[EMAIL PROTECTED]] Sent: Monday, June 23, 2003 1:26 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? This will only work if I am reseting In the formbean, I have the selected option. I want to extract

RE: html:option - is there a selected option attribute?

2003-06-23 Thread PREETAM Balijepalli
. How do I set the selected attribute select html:option value= selected=selected/option html:option value=/option /select Filip Polsakiewicz wrote: Sorry i was sleeping :-) I thought you were talking of checkboxes. Well i'd say it's not much different. In your

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Natalie D Rassmann
ot;>SC/option> /select> /td> I will use the selectedId from the OptionsBean to set the selected option in the list. How do I do this?? I don't think the overriding the reset method is the answer?? Filip Polsakiewicz wrote: Your formbean will be resetted on the first use and then every time

RE: html:option - is there a selected option attribute?

2003-06-23 Thread PREETAM Balijepalli
did that solve ure problem -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 6:03 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? This isn't going to work or at least I am not sure how

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Wendy Smoak
Natalie wrote: I will use the selectedId from the OptionsBean to set the selected option in the list. How do I do this?? I don't think the overriding the reset method is the answer?? In the Action's execute method, set the value of that Form bean property to whatever you want it to be.

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Rassmann, Natalie D
Thank you, I will try that. Wendy Smoak wrote: Natalie wrote: I will use the selectedId from the OptionsBean to set the selected option in the list. How do I do this?? I don't think the overriding the reset method is the answer?? In the Action's execute method, set the value of

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Rassmann, Natalie D
Wendy, I am not sure how this would work. My form element is an Object which is called OptionsBean. OptionsBean looks like this: list - Arraylist of (int optionId and String optionLabel) int selectedId In my Action's execute method, I do a beanutils.copyProperties to copy the dto (data

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Wendy Smoak
Natalie wrote: In my Action's execute method, I do a beanutils.copyProperties to copy the dto (data from DB) into my form. So, my form bean property is already set to the list. This list is used to build the select list drop down box in my jsp. The entire contents of the drop down is a

Re: html:option - is there a selected option attribute?

2003-06-23 Thread Rassmann, Natalie D
Wendy, You have been very helpful. This is my first STRUTS app and I seem to stumble the most on getting these tags to work. I have not found any real documentation examples to help me. At any rate, I tried to use the options collection tag and I had no success. It was one error after

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Steve Raeburn
- is there a selected option attribute? Wendy, You have been very helpful. This is my first STRUTS app and I seem to stumble the most on getting these tags to work. I have not found any real documentation examples to help me. At any rate, I tried to use the options collection tag and I had no success

html:option - is there a selected option attribute?

2002-11-04 Thread Greg Roll
I am generating a dropdown list using the following code: form:select property=groupId onchange=submit(); logic:iterate id=tmpGroup name=userPrivilegesForm property=groups type=com.serviceintelligence.cems.core.Group html:option value=%=

RE: html:option - is there a selected option attribute?

2002-11-04 Thread Madel,Kurt
Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Greg Roll [mailto:groll;ServiceIntelligence.com] Sent: Monday, November 04, 2002 4:26 PM To: '[EMAIL PROTECTED]' Subject: html:option - is there a selected option attribute? I am generating a dropdown list using the following

RE: html:option - is there a selected option attribute?

2002-11-04 Thread Karr, David
-Original Message- From: Greg Roll [mailto:groll;ServiceIntelligence.com] Sent: Monday, November 04, 2002 1:26 PM I am generating a dropdown list using the following code: form:select property=groupId onchange=submit(); logic:iterate id=tmpGroup