Title: panelTabbedPane question
try using a value binding for the tabChangeListener handler eg. <x:tabChangeListener type="#{myBackingBean}">
 
 


From: James Richards [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 12:30 PM
To: [email protected]
Subject: panelTabbedPane question


I have a tabbed pane with a tabChangeListener attached

<h:form id="dealForm">
        <x:panelTabbedPane id="dealTabbedPane"
                    selectedIndex="#{dealForm.activeTab}"
                    bgcolor="#eeeeee"
                    width="980"
                    activeTabStyleClass="tabActive"
                    inactiveTabStyleClass="tabActive"
                    serverSideTabSwitch="true">
                <x:tabChangeListener type="com.foo.listener.TabListener"/>      
...
</h:form>

but on MyFaces 1.1.1, the TabListener's

  public void processTabChange(TabChangeEvent event) {
//...
  }

is not being invoked.  Is there something additional that need to be done to enable the tab listener?

Thanks for any help,

James

Reply via email to