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

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-08-30 20:14 -------
The best place to discuss something like this is the Struts user list. The
tickets are for changes to the codebase and documentation. But to answer your
question, the stock valdation in the ActionForm is designed to forward to the
path (or forward) set by the input property, which may or may not be from where
you came from. Changing this behavior would mean overriding the processValidate
method of the RequestProcessor. Since changing the signature isn't a good
option, you could instead have it look for an "input" property in the request
and have it use that instead of the input property when present. So, the valiate
method would set an input property in the requeset, and your processValidate
method would look for that before using the input property. 

Depending on what else you are doing, another alternative would be to do the
validation in the Actions instead.

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

Reply via email to