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 Summary: <html:select tag doesn't assign default value properly Product: Struts Version: 1.1 RC1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] (platform = Linux RedHat 7.1 Tomcat = 4.0.1 JDK = jsdk 1.4.1) If the <html:select> tag is specified without the "size" attribute(i.e. displays one choice) the default value is incorrectly = 1 even if user makes no choice: <html:select property="id"> <html:optionsCollection name="collection" property="list" value="id" label="desc"> </html:select> If the <html:select> tag is specified with the display size set to anything > 1, the default value with no selection is correctly = 0: <html:select property="id" size="2"> <html:optionsCollection name="collection" property="list" value="id" label="desc"> </html:select> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]