Project Documentation

Summary

Tag name: <t:tabChangeListener>
Tag class: org.apache.myfaces.custom.tabbedpane.TabChangeListenerTag
Adds a tab-change-listener to the enclosing t:panelTabbedPane component.

When the panelTabbedPane changes the displayed tab, the listener is invoked.

Attributes

Name Type Required Description
type String true Define a listener to be attached to the parent HtmlPanelTabbedPane instance.

This attribute may be a literal string containing a fully-qualified class name. The specified class must implement the TabChangeListener interface and have a no-arguments constructor. A new instance will be created when the view is created.

This attribute may also be an EL expression that returns type String. The EL expression will be evaluated when the view is built, and the returned value must be a fully-qualified class name. The specified class must implement the TabChangeListener interface and have a no-arguments constructor. A new instance will be created when the view is created.

This attribute may also be an EL expression that returns a TabChangeListener instance.

It is an error if an EL expression returns an object of any type other than String or TabChangeListener.