whats the usecase?

-igor

On Tue, Jan 25, 2011 at 9:37 AM, Brown, Berlin [GCG-PFS]
<berlin.br...@primerica.com> wrote:
> I tried to do the following below but I got an error could not update
> component hierarchy.
> WicketMessage: Cannot modify component hierarchy after render phase has
> started (page version cant change then anymore)
>
> Is there an event method (like onAfterRender) that I could use without
> error?
>
> Component:
>
> onBeforeRender() {
>  ...
>  this.setDefaultModel(...);
> }
>
> onAfterRender() {
>  this.setSetDefaultModel(...);
> }
>
> Berlin Brown (POL)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to