org.apache.myfaces.tobago.internal.taglib.component
Class ConverterTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.myfaces.tobago.internal.taglib.component.ConverterTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ConverterTag

public abstract class ConverterTag
extends javax.servlet.jsp.tagext.TagSupport

Register an Converter instance on the UIComponent associated with the closest parent UIComponent.

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
ConverterTag()
           
 
Method Summary
 int doStartTag()
          Create a new instance of the specified Converter class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentELTag instance, if the UIComponent instance was created by this execution of the containing JSP page.
 void release()
           
 void setBinding(javax.el.ValueExpression binding)
          The value binding expression to a converter.
 void setConverterId(javax.el.ValueExpression converterId)
          The converterId of a registered converter.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, 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

ConverterTag

public ConverterTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Create a new instance of the specified Converter class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentELTag instance, if the UIComponent instance was created by this execution of the containing JSP page.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP error occurs

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

setConverterId

public void setConverterId(javax.el.ValueExpression converterId)
The converterId of a registered converter.


setBinding

public void setBinding(javax.el.ValueExpression binding)
The value binding expression to a converter.



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