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=17254>. 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=17254 html:option tag with an empty body content Summary: html:option tag with an empty body content Product: Struts Version: 1.1 Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The html:option tag attempts to lookup a message in the message resource bundle when the body content is empty. This results in an exception being thrown. We do this in places where the selection list is tied to an optional field... Notice the first html:option entry. <html:select property="currentAddress.phone2Type"> <html:option value=""></html:option> <logic:iterate id="type" name="addressChange" property="phoneTypes" type="AddressChangeForm.PhoneType"> <html:option value="<%= ((AddressChangeForm.PhoneType)type).getCode()%>"><bean:write name="type" property="description"/> </html:option> </logic:iterate> </html:select> We can fix this problem by doing this instead... <html:option value=""> </html:option> But it still probably should be valid to have an empty string here. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
