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/09/23 23:40:38 UTC

Re: Throw IllegalStateException on subsequent calls of initializeComponents()

add an rfe into jira

-igor

On Tue, Sep 23, 2008 at 2:39 PM,  <br...@gmail.com> wrote:
> Shouldn't wicket throw an IllegalStateException on subsequente calls of
> Application.initializeComponents().
>
> Afterall,
>
> /**
> * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL.
> *
> * Initializes wicket components.
> */
> public final void initializeComponents() { ... }
>
> Is there any reason to not throw this exception? Or simply, return if it is
> been called a second time, giving a warning.
>
> cheers
> Bruno
>