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
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
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
- 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