org.apache.myfaces.taglib.core
Class PhaseListenerTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.myfaces.taglib.core.PhaseListenerTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

@JSFJspTag(name="f:phaseListener",
           bodyContent="empty")
public class PhaseListenerTag
extends javax.servlet.jsp.tagext.TagSupport

Register a PhaseListener instance

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
martin.haimberger
See Also:
Serialized Form

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
PhaseListenerTag()
           
 
Method Summary
 int doStartTag()
           
 void setBinding(javax.el.ValueExpression binding)
          Value binding expression that evaluates to a PhaseListener.
 void setType(javax.el.ValueExpression type)
          Class name of the PhaseListener to be created and registered.
 
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

PhaseListenerTag

public PhaseListenerTag()
Method Detail

setType

@JSFJspAttribute(className="javax.el.ValueExpression",
                 deferredValueType="java.lang.String")
public void setType(javax.el.ValueExpression type)
Class name of the PhaseListener to be created and registered.


setBinding

@JSFJspAttribute(className="javax.el.ValueExpression",
                 deferredValueType="javax.faces.event.PhaseListener")
public void setBinding(javax.el.ValueExpression binding)
Value binding expression that evaluates to a PhaseListener.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.