[Wicket-user] getVariation and extended panels

2007-05-10 Thread Joshua Lim
Hi I have got a SuperPanel class that extends Panel, I have a few variations of html for this SuperPanel and am overriding the getVariation() method for to get what I want ...that's all good. Then I wanted to add a ChildPanel extending SuperPanel. and also I would like to have ChildPanel to

Re: [Wicket-user] getVariation and extended panels

2007-05-10 Thread Igor Vaynberg
could you more clearly define what you think the behavior should be, and what it is now? -igor On 5/10/07, Joshua Lim [EMAIL PROTECTED] wrote: Hi I have got a SuperPanel class that extends Panel, I have a few variations of html for this SuperPanel and am overriding the getVariation() method

Re: [Wicket-user] getVariation and extended panels

2007-05-10 Thread Joshua Lim
Ok I'll try... I was experimenting with the following with 2 panels... bascially ChildPanel.getVariation() will override the SuperPanel.getVariation() so I cannot have say a Blue SuperPanel and a Red ChildPanel... which would then make it possible to have flexible combination of layouts by