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=21254>. 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=21254 nested:messagePresent tag does not append parent name to indexed property Summary: nested:messagePresent tag does not append parent name to indexed property Product: Struts Version: 1.1RC2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Validation of indexed property in struts-validator example application (in type.jsp) is broken. Specifically the page has an indexed property nameList[].value. After I switched to Struts 1.1 final, the validation error message no longer shows up. In request scope, I saw ActionError saved for property nameList[0].value. In type.jsp the following code is used to output errors for this property: <nested:messagesPresent property="value" <br <ul <nested:messages id="error" property="value" <li<bean:write name="error"/</li </nested:messages </ul </nested:messagesPresent It seems nested:message can no longer match up "value" with "nameList[0].value". I can work around the problem by mannualy generating the property attribute like this: <nested:messagesPresent property='<%= "nameList[" + i + "].value" %' But this kind of defeated the purpose of nested tags. Per David Graham, this is broked in RC2 as well. It was working in RC1. Please also see http://www.mail-archive.com/struts-user% 40jakarta.apache.org/msg71566.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]