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=22575>. 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=22575 "ActionErrors validate" executed prematurely [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] Severity|Normal |Enhancement Component|Validator Framework |Documentation OS/Version|Other |All ------- Additional Comments From [EMAIL PROTECTED] 2003-08-20 11:26 ------- Yann gave additional, excellent input that caused me to change the type of the Bug to RFE: <<The validate method (default is ON) is called *before* the forward (the JSP) is displayed, so that's exactly what you see. If you simply want to forward to a Form you need to create a separate <action> where you set the validate=false to omit the validation of the Form (since there's no data yet). See the struts-example webapp for the <action> definitions for /editSubscription and /saveSubscription: <!-- Edit mail subscription --> <action path="/editSubscription" type="org.apache.struts.webapp.example.EditSubscriptionAction" attribute="subscriptionForm" scope="request" validate="false"> ^^^^^^^^^^^^^^^^^ <forward name="failure" path="/mainMenu.jsp"/> <forward name="success" path="/subscription.jsp"/> </action> and <!-- Save mail subscription --> <action path="/saveSubscription" type="org.apache.struts.webapp.example.SaveSubscriptionAction" name="subscriptionForm" scope="request" input="subscription"> <forward name="subscription" path="/subscription.jsp"/> <forward name="success" path="/editRegistration.do?action=Edit"/> </action> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
