Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-216

TabChangeListener not invoked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.1.1
    • 1.1.2
    • Tabbed Pane
    • None
    • Windows XP, SP2, Tomcat 5.5, MyFaces 1.1.1 and MyFaces 1.1.2 (Snapshot from 2006-03-17)

    Description

      The TabChangeListener is initialized, but not called on TabChange. In the browser i see that there is no request sent to the server...

      ***********************************************
      The jsp-code:

      <t:panelTabbedPane bgcolor="#FF0000">
      <t:panelTab id="tab01" label="Tab No.1">
      <t:outputText value="something"></t:outputText>
      </t:panelTab>
      <t:panelTab id="tab02" label="Tab No.2">
      <t:outputText value="something else"></t:outputText>
      </t:panelTab>
      <t:tabChangeListener type="test.TabChangeListenerImpl"/>
      </t:panelTabbedPane>

      ***********************************************The Listener-Class

      package test;

      import javax.faces.event.AbortProcessingException;

      import org.apache.myfaces.custom.tabbedpane.TabChangeEvent;
      import org.apache.myfaces.custom.tabbedpane.TabChangeListener;

      public class TabChangeListenerImpl implements TabChangeListener {

      public TabChangeListenerImpl()

      { super(); System.err.println("TabChangeListenerImpl.init"); }

      public void processTabChange(TabChangeEvent arg0) throws AbortProcessingException

      { System.err.println("TabChangeListenerImpl.processTabChange"); }

      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbausche Michael Bauschert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: