Re: Remote validator

2012-03-27 Thread Guillaume Bodet
It just works! Thanks Thiago (and so sorry not to have figured it out by myself ;;) Regards Guillaume Le 27 mars 2012 à 14:46, Thiago H. de Paula Figueiredo a écrit : > On Tue, 27 Mar 2012 07:47:37 -0300, Guillaume Bodet > wrote: > >> Hi all, > > Hi! > >> Is there any way to access a fiel

Re: Remote validator

2012-03-27 Thread Thiago H. de Paula Figueiredo
On Tue, 27 Mar 2012 07:47:37 -0300, Guillaume Bodet wrote: Hi all, Hi! Is there any way to access a field container component or ComponentResources from inside a validator class? Have you tried casting the Field parameter to Component? -- Thiago H. de Paula Figueiredo Independent Java

Remote validator

2012-03-27 Thread Guillaume Bodet
Hi all, I'm working on implementing a remote validator for T 5.3. The remote validator should perform an ajax call to the field's container component to check wether the value is valid, and have the same behavior as other client-side validations. Here is what I did : - extend Abstrac