Yes, I was using the old <option> tag but now <html:option> works like a charm... 
thanks :)
 

________________________________

From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Fri 01/10/2004 4:03 PM
To: Struts Users Mailing List
Subject: Re: populate html:select



From: "Anna Kerekes" <[EMAIL PROTECTED]>
> Just the "select" list information is gone, all the textbox information is
preserved on the form.

Thanks for confirming that.

If you want Struts to "remember" the selected items, then you MUST use
Struts tags to display those items, <html:option> and <html:options> in this
case.

Both of those tags have an array of attributes, and it's not always clear
which ones you need to use in combination to make it do what you want.  The
simplest thing to do would be to change all of your <option> tags to
<html:option> tags.

>From your original note, it looks like you're hard-coding the options as
plain-old-HTML <option> tags.  Let us know if that's not the case.

--
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to