I checked out the 4.3 showcase examples and modified http://icefaces-showcase.icesoft.org/showcase.jsf?grp=ace:tabSet to include another tabPane with cache="none" whose source is /resources/examples/ace/dataTable/dataTableLazyLoading.xhtml. The tabSet has clientSide="false". I have added a println in org.icefaces.samples.showcase.example.ace.dataTable.DataTableLazyLoading.load(). Switching between any tabs in the example results in the DataTableLazyLoading.load() method to be called twice. I only want the DataTableLazyLoading.load() to be called when switching to the tab that displays it.
Am I misunderstanding the JSF lifecycle? Do I have a configuration wrong? Is my expectation invalid?
Code:
<ace:tabPane id="football" label="DataTableLazyLoading - cache=none" cache="none">
<h:panelGrid >
<ui:include src="/resources/examples/ace/dataTable/dataTableLazyLoading.xhtml" />
</h:panelGrid>
</ace:tabPane>
Thanks