PanelCachingTab

2010-02-15 Thread Leszek Gawron
hello, is there any reason why PanelCachingTab.isVisible() does not delegate to inner tab ?. This results in such spaghetti code: tabs.add( new PanelCachingTab( new AbstractTab( new ResourceModel( configuration ) ) { @Override

Re: PanelCachingTab

2010-02-15 Thread Igor Vaynberg
open an rfe in jira -igor 2010/2/15 Leszek Gawron lgaw...@apache.org: hello, is there any reason why PanelCachingTab.isVisible() does not delegate to inner tab ?. This results in such spaghetti code:                tabs.add( new PanelCachingTab( new AbstractTab( new ResourceModel

updating PanelCachingTab

2009-04-16 Thread tubin gen
Is it possible to update a panel which is inside org.apache.wicket.extensions.markup.html.tabs.PanelCachingTab , I tried to add the panel to AjaxREquestTraget , it did not work , please suggest me if it is possible to refresh a PanelCachingTab

Re: updating PanelCachingTab

2009-04-16 Thread Erik van Oosten
- get the list of tabs from the TabPanel - update the list: just put in a new PanelCachingTab on the correct index - call setCurrentTab on the TabPanel (even if the correct tab is already visible!) - if done from Ajax callback, don't forget to add all changed components to the AjaxRequestTarget