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 ------- Additional Comments From [EMAIL PROTECTED] 2003-03-13 18:27 ------- Just wanted to get some feedback before I work on a patch for this. Basically I was thinking of adding a page tag to validation.xml, for example <form name="personForm"> <page number="1" errorForward="page1"> <field property="name" depends="required"/> <field property="address" depends="required"/> </page> <page number="2" errorForward="page2"> <field property="plan" depends="required"/> <field property="groupNumber" depends="required"/> </page> </form> In this way the control flow for validation failure is specified in validation.xml. This would preclude having to specify an action mapping for each page in order to specify a different value for the action's input attribute. Implementing this would require changes in the commons-validator, plus also enhancing ActionError to encapsulate the error forward so that the ActionServlet can use the errorForward. Does this sound worthwhile ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]