Thank you Janne!

On Jun 1, 2014, at 11:35 PM, Janne Jalkanen <janne.jalka...@ecyrd.com> wrote:

> 
> Yup.
> 
> In your ActionBean, try something like this:
> 
>     @Override
>     public Resolution handleValidationErrors( ValidationErrors errors ) 
> throws Exception
>     {
>         return new ForwardResolution(“/MainForm?id=3");
>     }
> 
> /Janne
> 
> On 2 Jun 2014, at 04:23, Joaquin Valdez <joaquinfval...@gmail.com> wrote:
> 
>> Hello!
>> 
>> Is it possible to control the return url when a validation error is 
>> triggered by the following line:
>> 
>> @Validate(required = true)
>> private String customername;
>> 
>> If I do not fill in customer name, it goes back to MainForm.action.  I would 
>> like to adjust that so it goes back to MainForm.action?id=3
>> 
>> Thank you
>> Joaquin Valdez
>> 
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, 
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech_______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, 
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech_______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to