Hi Christian,

On Wed, May 7, 2008 at 12:34 AM, Poitras Christian
<[EMAIL PROTECTED]> wrote:

> Tim, I've already programmed something close to this.
> It's an interceptor that returns a different resolution if handle errors 
> method returns a Resolution.
> Of course, you can also change validation errors during method execution if 
> you like.
>
> So you can have things like:
>     @HandlesErrors public void fallback() { ... }
>     @HandlesErrors(on="save") Resolution handleSaveErrors() { ... }
>     @HandlesErrors(on="update") Resolution 
> handleUpdateErrors(ValidationErrors errors) { ... }

Would it be possible for you to send this to me (simonzmail at gmail
dot com)?  I'm looking at patching something like this in since it
will really make a big difference across a wide array of actions in
our code base.  Having your code as a starting point would be very
helpful!  (If you can mention what version of the code you have based
it on, that will help me as well!).

Thanks!

Simon.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to