Are you calling super.onValidate() ?

And I think before updating the models, all components must be visitted.


*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099



On Thu, Aug 11, 2011 at 11:39 AM, delta <[email protected]> wrote:

> When I set the *setRequired(true)* in a CheckGroup and Override the
> *onValidate* of the Form, calling *updateFormComponentModels();* to update
> the Models, a NullPointerException occurs in CheckGroup.updateModel.
>
> This only occurs when setRequired is setted to true, not happening when not
> setted or when explicitly setted to false.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/CheckGroup-updateModel-setrequired-Bug-tp3736032p3736032.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to