Hi,

I have a handler method that creates a validation error just like here:
http://www.stripesframework.org/display/stripes/Validation+Reference#ValidationReference-PerformingValidationinHandlerMethods

Additionally the ActionBean implements the ValidationErrorHandlder. If I 
just return a source page resolution, than this error handler is of 
course not called.

Of course I know what happens and can just call my errorHandler method, 
check the return value for being a non-null and use that as resolution 
or use the source page resolution if the return value was null.

But I think it would feel more natural if I could get stripes to just do 
the normal validation error process as if this was a 
validationErrorHandler, triggering the progress by returning a null 
resolution or throwing an exception of appropriate type.

Is anything like that possible?

Thomas

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to