myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bauschert (JIRA)" <...@myfaces.apache.org>
Subject [jira] Closed: (TOMAHAWK-216) TabChangeListener not invoked
Date Mon, 27 Mar 2006 13:26:34 GMT
     [ http://issues.apache.org/jira/browse/TOMAHAWK-216?page=all ]
     
Michael Bauschert closed TOMAHAWK-216:
--------------------------------------

    Fix Version: 1.1.2-SNAPSHOT
                     (was: 1.1.1)
     Resolution: Invalid

Okay, with the 1.1.2-Snapshot the serverSideTabSwitch exists and works. My work started with
1.1.1 and there this possibility not exists.

> TabChangeListener not invoked
> -----------------------------
>
>          Key: TOMAHAWK-216
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-216
>      Project: MyFaces Tomahawk
>         Type: Bug
>   Components: Tabbed Pane
>     Versions: 1.1.1
>  Environment: Windows XP, SP2, Tomcat 5.5, MyFaces 1.1.1 and MyFaces 1.1.2 (Snapshot
from 2006-03-17)
>     Reporter: Michael Bauschert
>      Fix For: 1.1.2-SNAPSHOT

>
> 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");
> 	}
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message