org.apache.myfaces.taglib.core
Class ConverterImplTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.faces.webapp.ConverterELTag
org.apache.myfaces.taglib.core.ConverterImplTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
@JSFJspTag(name="f:converter",
bodyContent="empty")
public class ConverterImplTag
- extends javax.faces.webapp.ConverterELTag
This tag creates an instance of the specified Converter, and
associates it with the nearest parent UIComponent.
- Version:
- $Revision: 810211 $ $Date: 2009-09-01 15:16:03 -0500 (Tue, 01 Sep 2009) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
- See Also:
- Serialized Form
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 |
Method Summary |
protected javax.faces.convert.Converter |
createClassicConverter()
|
protected javax.faces.convert.Converter |
createConverter()
|
void |
release()
|
void |
setBinding(javax.el.ValueExpression binding)
A ValueExpression that evaluates to a Converter. |
void |
setConverterId(javax.el.ValueExpression converterId)
The converter's registered ID. |
void |
setConverterIdString(java.lang.String converterIdString)
Use this method to specify the converterId programmatically. |
Methods inherited from class javax.faces.webapp.ConverterELTag |
doStartTag |
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 |
ConverterImplTag
public ConverterImplTag()
setConverterId
@JSFJspAttribute(rtexprvalue=true,
className="java.lang.String")
public void setConverterId(javax.el.ValueExpression converterId)
- The converter's registered ID.
setBinding
@JSFJspAttribute(rtexprvalue=true,
className="javax.faces.convert.Converter")
public void setBinding(javax.el.ValueExpression binding)
- A ValueExpression that evaluates to a Converter.
setConverterIdString
public void setConverterIdString(java.lang.String converterIdString)
- Use this method to specify the converterId programmatically.
- Parameters:
converterIdString
-
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class javax.servlet.jsp.tagext.TagSupport
createConverter
protected javax.faces.convert.Converter createConverter()
throws javax.servlet.jsp.JspException
- Specified by:
createConverter
in class javax.faces.webapp.ConverterELTag
- Throws:
javax.servlet.jsp.JspException
createClassicConverter
protected javax.faces.convert.Converter createClassicConverter()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.