Re: Converters and Validators

2008-06-30 Thread Timo Rantalaiho
On Mon, 30 Jun 2008, Ayodeji Aladejebi wrote: > Are converters invoked before validators. can I do this raw input conversion -> converted input, if conversion succeeds validation -> modelObject update, if validation succeeds Best wishes, Timo -- Timo Rantalaiho Reaktor Innova

Re: Converters and Validators

2008-06-30 Thread Ayodeji Aladejebi
yes this works well. thanks On Mon, Jun 30, 2008 at 11:08 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Hi, > I want to know if this is the right thing to do if a value required > conversion > > Textfield dateField = new TextField("date", Date.class); > > dateField.add(new DateBeforeAnotherD

Converters and Validators

2008-06-30 Thread Ayodeji Aladejebi
Hi, I want to know if this is the right thing to do if a value required conversion Textfield dateField = new TextField("date", Date.class); dateField.add(new DateBeforeAnotherDateValidator()); class DateBeforeAnotherDateValidator{ protected void onValidate(IValidatable validatable) { Da