|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.myfaces.custom.tabbedpane.TabChangeListenerTag
public class TabChangeListenerTag
Adds a tab-change-listener to the enclosing t:panelTabbedPane component.
When the panelTabbedPane changes the displayed tab, the listener is invoked.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
TabChangeListenerTag()
|
Method Summary | |
---|---|
int |
doStartTag()
|
void |
setType(String type)
Define a listener to be attached to the parent HtmlPanelTabbedPane instance. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabChangeListenerTag()
Method Detail |
---|
public void setType(String type)
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.
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |