Hi all,

I have a "Save" action where I save the data, and if an input is required,
it forwards to another "Retrieve" action to populate the data I need in the
Velocity template.  I then added in validation to my "Save" action.

Now, if I change it to not chain to the "Retrieve" action, but instead go
directly to the Velocity template, then it valiates and shows me the errors.
But, it is missing data that the "Retrieve" action provided.  If I put the
"Retrieve" action back then it never performs the validations.  My xwork.xml
looks like this:

                <action name="SaveUser"
class="com.upstate.catalog.actions.users.SaveUserAction">
                        <result name="success" type="chain">RetrieveUser</result>
                        <result name="input" type="chain">RetrieveUser</result>
                        <interceptor-ref name="defaultComponentStack"/>
                        <interceptor-ref name="userEdit"/>
                        <interceptor-ref name="validationWorkflowStack"/>
                </action>

I though I needed something like this:
                        <interceptor-ref name="chain"/>

added, but it doesn't seem to have any effect.

Thanks,
Eric Pugh



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to