[Wicket-user] TabbedPanel tabs instanciation

2007-07-12 Thread Xavier Hanin
Hi, When debugging my application which uses a TabbedPanel, I realized that one tab was unnecessarily instanciated. After some investigation the reason is simply because I call setSelectedTab based on the parameters of my page, but since the instanciation of a TabbedPanel call setSelectedTab(0),

Re: [Wicket-user] TabbedPanel tabs instanciation

2007-07-12 Thread Erik van Oosten
Xavier, Just an idea, I am not sure this would work: do not use the first tab, and switch to the second tab (index 1) if you do not have the parameter. Regards, Erik. Xavier Hanin wrote: When debugging my application which uses a TabbedPanel, I realized that one tab was unnecessarily

Re: [Wicket-user] TabbedPanel tabs instanciation

2007-07-12 Thread Igor Vaynberg
On 7/12/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, When debugging my application which uses a TabbedPanel, I realized that one tab was unnecessarily instanciated. After some investigation the reason is simply because I call setSelectedTab based on the parameters of my page, but since the