[jboss-user] [JBoss Seam] - Seam & t:panelTabbedPane
sherkan777
do-not-reply at jboss.com
Tue Nov 14 09:34:31 EST 2006
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();
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985789#3985789
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985789
More information about the jboss-user
mailing list