Without going into a lot of detail, suffice to say our application benefits
from action chaning, and we are using it in the documented way.

We've begun to go through and add the validation to some actions, but we
have run into a snag with validation and action chaining.

Whenever one action in the chain encounters an error as a result of
validation all other actions are affected.  Struts then calls the input
method on all downstream actions.  However, some actions don't override
input, and by calling only the input method on those actions Struts is not
calling the intended method (be it execute() or a named method), and those
actions are not executing properly.  Not only are downstream actions
affected, but simple actions called using the <s:action tag are also
affected in the same way.

It seems like, whenever there are action errors in the value stack,
everything passed that value stack gets a call to input.

Has anyone else run in to this kind of issue with action chaining and
validation?

Thanks,
-B



---------------------------------------------------------------------
This message, together with any attachments, is
intended only for the use of the individual or entity
to which it is addressed. It may contain information
that is confidential and prohibited from disclosure.
If you are not the intended recipient, you are hereby
notified that any dissemination or copying of this
message or any attachment is strictly prohibited. If
you have received this message in error, please notify
the original sender immediately by telephone or by
return e-mail and delete this message, along with any
attachments, from your computer. Thank you.

---------------------------------------------------------------------

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

Reply via email to