Thank you Dave for helping,

Below is the fragment in struts.xml where editLicense should submit to
saveLicense, which in return should redirect to editLicense again. That is
the call to saveLicense is transparent.
Submit to saveLicense was intercepted by validation. Errors were found!
What happens next? How do I preserve the error stack? 

Thank you for support.

pst: I am using struts2/spring/hibernate.



<action name="editLicense" class="orgAdminLicenseAction" method="edit">
        <result>/WEB-INF/pages/lms/orgAdmin/licenseForm.jsp</result>
        <result 
name="error">/WEB-INF/pages/lms/orgAdmin/licenseList.jsp</result>
</action>
 <action name="saveLicense" class="orgAdminLicenseAction" method="save">
        <result name="success" type="redirect">licenses.html</result>
        <result name="cancel" type="redirect">licenses.html</result>
        <result name="delete" type="redirect">licenses.html</result>
        <result name="input" type="redirect-action">
                editLicense.html
                true
                ${license.dkey}
        </result>
 </action>
-- 
View this message in context: 
http://www.nabble.com/chaining-validation-errors-tp15299658p15300085.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to