Reputation: 1542
I would like to create tab panel where the tabs are created dynamically in wicket and by doing it in a list of tabs where every time I create tab , I want only this tab to be rendered , and not creating all the view from start via ajax
is there another framework that would do it ?
Upvotes: 1
Views: 526
Reputation: 7696
You can use the TabbedPanel or the AjaxTabbedPanel from the wicket-extensions for this. Both require a List for the tabs to display. You can keep a reference to this list and add new entries.
Both implementations only create the Component for the tab content when the tab is created.
Upvotes: 1
Reputation: 16131
You could try to use client-side only tabs like JQuery UI Tabs: http://jqueryui.com/tabs/#manipulation and then render the content of the Tabs as Panels and not as Wicket TabbedPanel tabs.
Upvotes: 0