Hi, I am trying to properly share a model between tabs in a TabbedPanel.
I've been trying to pass the model to the Panels returned in the getPanel
hook (below), but it seems not to work.
tabs.add(new AbstractTab(new Model("Title")) {
@Override
public WebMarkupContainer getPanel(String panelId) {
return new MyPanel(panelId, model);
}
});
TabbedPanel tabbedPanel = new TabbedPanel("tabs", tabs);
Can someone point me to an example where this is done?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Properly-share-data-model-in-TabbedPanel-tp4650082.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]