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 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), the first > tab is always instanciated, even though I don't need to render it. > > Do anyone know a workaround for this? > -- View this message in context: http://www.nabble.com/TabbedPanel-tabs-instanciation-tf4070193.html#a11567857 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user