Hi,

Don't think you have to propagate #setRequired() to child components
because the whole formcomponent is required. But I think you could overrive
#checkRequired() - which is not final - to fit best your use case (which is
called underneath by #validate())

Hope this helps,
Sebastien.

On Mon, Oct 1, 2012 at 1:48 PM, Tobias Gierke
<tobias.gie...@voipfuture.com>wrote:

> Hi,
>
> With setRequired() being final, I'm not sure how to propagate a
> setRequired() call to my child components ... I found some discussion about
> the pro's and con's of having a final setRequired() method () (
> http://apache-wicket.1842946.**n4.nabble.com/VOTE-**
> setRequired-final-or-not-**td1903843.html<http://apache-wicket.1842946.n4.nabble.com/VOTE-setRequired-final-or-not-td1903843.html>)
>  but I'm still not sure how to actually apply this knowledge.
>
> Any pointers ?
>
> Thanks in advance,
> Tobias
>
> P.S. I'm using Wicket 1.5
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org>
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to