Re: svn commit: r523920 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java

2007-03-30 Thread Eelco Hillenius
On 3/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: well, however you fix it, imho the way it is now is broken. No that's reversing it. It was truly broken, as it wasn't called at all (in fact I committed the check on isEnabled just a couple of days ago). Your concern is that it still not may

Re: svn commit: r523920 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java

2007-03-30 Thread Igor Vaynberg
well, however you fix it, imho the way it is now is broken. -igor On 3/30/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: It seemed a bit odd to me to punish our users with multiple calls because of something we didn't design well in the first place. Typical case of where we should have provid

Re: svn commit: r523920 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java

2007-03-29 Thread Eelco Hillenius
It seemed a bit odd to me to punish our users with multiple calls because of something we didn't design well in the first place. Typical case of where we should have provided an empty template method. It would have my preference to fix that rather than doing the isEnabled call twice. Eelco On 3

Re: svn commit: r523920 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java

2007-03-29 Thread Igor Vaynberg
i think you should leave the isenabled check. isbehavioraccepted does it, sure. but as users override it, will they remember to call super? its not in javadoc and is not enforced. and if they do not call super they can override what is behavior's choice not the components. -igor On 3/29/07, [EM