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

2003-06-24 Thread Chad Mathis
ehensive coverage of the tags than mine but is designed to test the tags rather than be easy to understand for someone new to Struts. > >HTH > >Steve > > -Original Message- > From: Rassmann, Natalie D [mailto:[EMAIL PROTECTED] > Sent: June 23, 2003 11:43 AM >

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

2003-06-24 Thread Natalie D Rassmann
: Rassmann, Natalie 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

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

2003-06-23 Thread Steve Raeburn
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. At any rate,

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 another

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, 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 f

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 th

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. St

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 h

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

2003-06-23 Thread Natalie D Rassmann
s 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 that information and mark the appropriate list item as selected.  When I look in the tld, I do not

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

2003-06-23 Thread PREETAM Balijepalli
hello u need to set the name attribute also in the so that reset works for u -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 4:56 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 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 that

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

2003-06-23 Thread Filip Polsakiewicz
ginal Message- > 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

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

2003-06-23 Thread Natalie D Rassmann
ld like to be the default.   Greetz, Filip    -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 correspondi

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 Filip Polsakiewicz
etz, Filip -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 Polsakie

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

2003-06-23 Thread Natalie D Rassmann
, 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 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 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
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 Filip Polsakiewicz
tml: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 > selected?? Is there a way: >

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?

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: > > > property="groups" type="com.serviceintelligence.cems.core.Group"> >

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

2002-11-04 Thread Madel,Kurt
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 code: <%= tmpGroup.getName() %> Is there some r

html:option - is there a selected option attribute?

2002-11-04 Thread Greg Roll
I am generating a dropdown list using the following code: <%= tmpGroup.getName() %> Is there some recommended way for me to have a certain item 'selected' when generating this form? Thx. Greg Roll