I don't think CheckBox handles validation in its processSubmission method, AbstractTextField does but not the CheckBox component.
2010/2/4 Thiago H. de Paula Figueiredo <thiag...@gmail.com> > On Thu, 04 Feb 2010 13:21:23 -0200, cordenier christophe < > christophe.corden...@gmail.com> wrote: > > Well, sorry i thought you had a problem submit button identification >> because >> of "onSelectFrom is called to late". >> Then to your problem i have no solution, because as you said it the >> checkBox is not validated. >> > > There's a solution: implement a Validator, contribute it to the > FieldValidatorSource service and use t:validate="requiredCheckbox" to your > Checkbox component instance. requiredCheckbox would be the id of your > validator. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, software architect and developer, Ars Machina Tecnologia da > Informação Ltda. > http://www.arsmachina.com.br > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Regards, Christophe Cordenier. Developer of wooki @wookicentral.com