Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-30 Thread Sandro Giessl
Hi Musachy, On Wednesday 25 July 2007 03:47:58 Musachy Barroso wrote: It would be easy to implement: http://struts.apache.org/2.x/docs/ajax-validation.html What would be the basic approach to implement this? One possible solution I see is to fire validation on every onblur event in the text

Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-30 Thread Musachy Barroso
You are right, there is no notion of validating one field only, that logic should then be on the client (you know the field you are validating so just show the errors for that field). This ajax validation thing is not written in stone :), we can add more stuff to cover more use cases, so

[s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-24 Thread Piero Sartini
I want to use s2.1 for a new project. Now I try to figure out how it is possible to make a realtime validator that is fired when the user switches fields. With 2.0.8 there was DWR and the ajax theme. Now I do have the dojo plugin and the interceptor. sx:submit tag .. but there are no sx:form

Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-24 Thread Musachy Barroso
It would be easy to implement: http://struts.apache.org/2.x/docs/ajax-validation.html musachy On 7/24/07, Piero Sartini [EMAIL PROTECTED] wrote: I want to use s2.1 for a new project. Now I try to figure out how it is possible to make a realtime validator that is fired when the user switches