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=17306>. 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=17306 extend <field> tag with "forward" attribute for error page Summary: extend <field> tag with "forward" attribute for error page Product: Struts Version: 1.1 Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Validator Framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I was putting together a multi page example using the Validator and DispatchAction. It seemed cumbersome to have to define an action mapping for each page in order to to use the action "input" attribute to specify the error page. The nice thing about the DispatchAction is that it helps to minimize the number of action mappings. Maybe a nice enhancement would be to extend the <field> tag in validation.xml with an attribute to specify the name of the action forward to use if the validation fails. For example, <field property="streetAddress" page="2" depends="required" forward="address"> <arg0 key="prompt.address"/> </field> would indicate to use action forward "address" if the required validation fails. If more than one validation fails then the first foward of a field that failed would be used. If no fowards are specified in validation.xml then the behavior would be as is now. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]