You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Igor Vaynberg <ig...@gmail.com> on 2008/05/13 04:16:47 UTC

Re: PagingNavigator refactor - Question for Igor Vaynberg

calling overridable methods from super's constructors is bad form in
java and can lead to various issues when subclasses override those
methods.

there is a thread on this refactor on the mailing list if you want to
search for it.

-igor


On Mon, May 12, 2008 at 7:29 PM, Stefan Simik <st...@gmail.com> wrote:

>  Hi Igor,
>
>  please, could you explain, why PagingNavigator was refactored, so that
>  construction and calling factory methods were moved from constructor
>  to #onBeforeRender(), where it was originally before fixing bug 1548.
>  http://issues.apache.org/jira/browse/WICKET-1548
>
>  It caused some incompatibilities in our custom paging-navigation,
>  so I would to like to understand, why this change was important.
>
>  Thanks,
>  Stefan Simik
>
>
>  --
>  View this message in context: http://www.nabble.com/PagingNavigator-refactor-----Question-for-Igor-Vaynberg-tp17199365p17199365.html
>  Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>