Hi Eyal,

I think that the best time to execute this code is inside the Ajax callback method. Perhaps you'll need to set up some kind of notification (event) mechanism.

Regards,
    Erik.


Op 02-05-10 16:25, Eyal Golan schreef:
actually we do call the addOrReplace method (I copied it incorrectly).
However, the question remains, is there a different way of doing it other
than in the onBeforeRender ?

Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


2010/5/2 Uwe Schäfer<u...@thomas-daily.de>

Am 02.05.2010 15:44, schrieb Eyal Golan:


  The Main (parent) panel can be changed via ajax. The ajax might change the
enum type.

if you change it at runtime, would you not want to replace, instead of add?

cu uwe



--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


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

Reply via email to