DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22219>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22219

<html:select tag doesn't assign default value properly

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-08-10 12:57 -------
I tried this out and could not reproduce the problem. 

These tags: 
<html:select property="beanCollectionSelect">
  <html:optionsCollection name="testbean" property="beanCollection"/>
</html:select>

Generated this HTML: 
<select name="beanCollectionSelect">
<option value="Value 0">Label 0</option>
<option value="Value 1">Label 1</option>
<option value="Value 2">Label 2</option>
<option value="Value 3">Label 3</option>
</select>

There is no selected value in the generated code and submitting the form sends
no value at all (not even the first in the list).

I think there's something else going on with your code, but a better place to
explore that would be on the struts-user list.

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

Reply via email to