On Tue, Jun 19, 2012 at 11:26 PM, nunofaria11 <nunofari...@gmail.com> wrote: > 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.
"Doesn't work" doesn't explain much. Give us more information/code. > > > > 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: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org