Hi!
I try to use t:panelTabbedPane 7 Seam 1.2, and get following error:
<t:tabChangeListener> Tag Library supports namespace: http://myfaces.apache.org/tomahawk, but no tag was defined for name: tabChangeListener
Can anyone help me to resolve this problem? Source code is here: <t:panelTabbedPane selectedIndex="#{homeAction.selectedTabIndex}" styleClass="tabbedPane" width="100%" bgcolor="#FFFFCC" activeTabStyleClass="activeTab" inactiveTabStyleClass="inactiveTab" activeSubStyleClass="activeSub" inactiveSubStyleClass="inactiveSub" tabContentStyleClass="tabContent" serverSideTabSwitch="true"> <t:panelTab id="tab1" label="label1"> <f:subview id="tab1" rendered="#{homeAction.selectedTabIndex == 0}"> <ui:include src="/WEB-INF/includes/expertQuestions.xhtml"/> </f:subview> </t:panelTab> <t:panelTab id="tab2" label="label2"> <f:subview id="other" rendered="#{homeAction.selectedTabIndex == 1}"> <ui:include src="/WEB-INF/includes/expertMenu.xhtml"/> </f:subview> </t:panelTab> <t:tabChangeListener type="pl.fargo.expert.business.HomeAction"/> </t:panelTabbedPane>
public int getSelectedTabIndex() { return selectedTabIndex; } public void setSelectedTabIndex(int selectedTabIndex) { this.selectedTabIndex = selectedTabIndex; } public void processTabChange(TabChangeEvent event) throws AbortProcessingException { System.out.println("called index: " + event.getNewTabIndex() + " " + event.getPhaseId()); this.selectedTabIndex = event.getNewTabIndex(); }