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=22576>. 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=22576 how to forward control back to other than the input form (input poperty) when problem found in validate Summary: how to forward control back to other than the input form (input poperty) when problem found in validate Product: Struts Version: 1.0 Final Platform: All URL: http://jakarta.apache.org/struts/doc- 1.0.2/userGuide/building_view.html#form_validation OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] For some problems we may find in validate(), we would like to forward the control to somewhere else than where we came from. Please document at the URL above how to do that! This RFE comes up since we cannot do servlet.findForward(Constants.SYSTEM_OUT_OF_ORDER); to a global error forward page in the same way as we do that in the action perform(). Preliminary ideas how to do this are: - create a particular error in "errors" and include in its parameters the "forward string". Then in perform(), test for this error and forward appropriately. - or could I somehow directly cause to forward directly out of validate() without having to take care of this in perform() - or could I raise an exception that would allow me to change the flow? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]