Re: AW: Dynamically choosing component to add

2011-11-29 Thread tech7
Many thanks. I am also trying to add new textfield to the page when user clicks on a button. How can I do that? Is there any proper way? - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamically-choosing-component-to-add-tp3955869p4118343.html

Re: AW: Dynamically choosing component to add

2011-11-28 Thread tech7
I have tried this example so it is working perfect :) Thank you for your support. - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamically-choosing-component-to-add-tp3955869p4116037.html Sent from the Users forum mailing list archive at

Re: AW: Dynamically choosing component to add

2011-11-28 Thread Bertrand Guay-Paquet
Hi, I think I just responded to you in your own thread - where I didn't know what you were trying to do. I still don't claim to fully understand, but I think I better understand your question here. If you mean that you have one panel that *may possibly contain any one of X panels*, then here's

Re: AW: Dynamically choosing component to add

2011-11-25 Thread Fabiosakiyam
Hi Bertrand, I have almost the same problem you do (i think, im still a newbie). I'm trying to create a component that creates one specific container, depending on it's type. So i'd like to add only this container. I'm having problem at the .html, since i don't know if i should declare all

Re: AW: Dynamically choosing component to add

2011-11-25 Thread Jeremy Thomerson
On Fri, Nov 25, 2011 at 1:26 PM, Fabiosakiyam fabiosakiy...@gmail.comwrote: Hi Bertrand, I have almost the same problem you do (i think, im still a newbie). I'm trying to create a component that creates one specific container, depending on it's type. So i'd like to add only this container.

Re: AW: Dynamically choosing component to add

2011-10-31 Thread Bertrand Guay-Paquet
Thank you Sven! On 31/10/2011 11:19 AM, Sven Meier wrote: onBeforeRender() and addOrReplace() are the right combination. Note that according to the javadoc you're not supposed to alter the component hierarchy in onConfigure(). Sven -Ursprüngliche Nachricht- Von: Bertrand Guay-Paquet