you can do pre-execute-processing using the Preparable interface with the Preparable Interceptor, just make sure the interceptor runs before the validation and workflow interceptors if you're using those.



Tao Starbow wrote:

Does anyone have any tips on doing preprocessing when a form fails validation?
I have a form that some information from the database to set up the user interface.
Normally I just do this in the execute method. But when the form fails xwork validation, the execute method is never called. Does the ValidateInterceptor have a hook for something like an onFail method?


thanks,
-tao starbow



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork






------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to