Re: How to handle validation/errors in Ajax requests

2007-09-19 Thread Musachy Barroso
There isn't much you can do about that on 2.0, on trunk (future 2.1) we have a new JSON validation interceptor, check this for details: http://struts.apache.org/2.x/docs/ajax-validation.html musachy On 9/19/07, Marc Eckart <[EMAIL PROTECTED]> wrote: > Hi, > > I start a ajax request with a > > T

How to handle validation/errors in Ajax requests

2007-09-19 Thread Marc Eckart
Hi, I start a ajax request with a This pumps the result in the target div tag and all is perfect. But how can I handle validation errors. They should not appear in the target div tag, instead it should appear in a different div tag for errors. Can I change the target or can I force the site to l