Re: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread Johan Compagner
what version of wicket is that code? I guess 1.2? then you should use onAttach() because onBeforeRender you can't change anything anymore because the page is already rendering. johan On Nov 9, 2007 4:00 PM, William Hoover [EMAIL PROTECTED] wrote: I'm curious if my approach is incorrect when

RE: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread William Hoover
Its 1.3.0-beta4 Is it still an issue? -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 10:15 AM To: users@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? what version of wicket

Re: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread Martijn Dashorst
@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? what version of wicket is that code? I guess 1.2? then you should use onAttach() because onBeforeRender you can't change anything anymore because the page is already rendering. johan On Nov 9, 2007

Re: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread Matej Knopp
: Friday, November 09, 2007 10:15 AM To: users@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? what version of wicket is that code? I guess 1.2? then you should use onAttach() because onBeforeRender you can't change anything anymore because

Re: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread Martijn Dashorst
an issue? -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 10:15 AM To: users@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? what version of wicket is that code? I

RE: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread William Hoover
Is there any way that to dynamically update a StringResourceModel? -Original Message- From: Matej Knopp [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 11:11 AM To: users@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? I

Re: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread Johan Compagner
, 2007 11:11 AM To: users@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? I am affraid you can't modify a component from a behavior before render. Unline onBeforeRender in component, the behavior's beforeRender is called right before

RE: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread William Hoover
Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 11:39 AM To: users@wicket.apache.org Subject: Re: beforeRender() - Cannot modify component hierarchy during render phase? changet the model value itself. instead of setting a new model On Nov 9, 2007 5