On 8/13/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > On 8/13/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > isnt this broken? isrequired() doesnt return the same value as > > > setrequired(). > > > > You you're right, this would be it:
so if you made this mistake imagine everyone else making it! > I'd also like to point out that this bug only had an effect when > clients would call isRequired themselves, as for Wicket's functioning > it's not really relevant. And making the isRequired function final is > really to force people to use setRequired. isrequired is a pretty common method to call. formcomponentlabels that add a * for required components comes to mind immediately. -igor Eelco >
