On 5/22/07, wicket0123 <[EMAIL PROTECTED]> wrote:
We are using AjaxTabbedPanel to display data. We don't want to pre-load
all
the data at star up. We want to load the tab's content when user clicks on
the tab. So, we decided to use AjaxTabbedPanel. We are using
AbstractTab.
Each tab represents a category, so we hold the category id on the tab
panel.
dont really understand what you are trying to do/what problem you have. even
the non-ajax tabbedpanel does not load all the data on start up. it only
loads the data once the user clicks the tab.
add(new AbstractTab(new Model("tab1") { Panel getPanel() { return new
Panel1(); }});
add(new AbstractTab(new Model("tab2") { Panel getPanel() { return new
Panel2(); }});
when the tabbed panel renders it will default to tab1, so panel1() will be
created because getpanel() will be called on the first itab. then when user
clicks on tab2 panel2 will be created because getpanel() will be called on
the second itab.
-igor
-------------------------------------------------------------------------
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