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 <s:submit theme="ajax" target="xxxxx"> > > 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 load complete instead of > just the (with ajax) requested part. > In case a exception occurs, can I redirect to an error page? Now the error > page appears instead of the result in the target div. > > Any suggestions? > > Thanx in advance. > > Marc > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]