org.apache.myfaces.taglib.core
Class ConverterImplTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.faces.webapp.ConverterELTag
          extended by org.apache.myfaces.taglib.core.ConverterImplTag
All Implemented Interfaces:
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 ConverterELTag

This tag creates an instance of the specified Converter, and associates it with the nearest parent UIComponent.

Version:
$Revision: 823354 $ $Date: 2009-10-08 18:05:00 -0500 (Thu, 08 Oct 2009) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)
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
ConverterImplTag()
           
 
Method Summary
protected  Converter createClassicConverter()
           
protected  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(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
 

Constructor Detail

ConverterImplTag

public ConverterImplTag()
Method Detail

setConverterId

@JSFJspAttribute(className="javax.el.ValueExpression",
                 deferredValueType="java.lang.String")
public void setConverterId(javax.el.ValueExpression converterId)
The converter's registered ID.


setBinding

@JSFJspAttribute(className="javax.el.ValueExpression",
                 deferredValueType="javax.faces.convert.Converter")
public void setBinding(javax.el.ValueExpression binding)
A ValueExpression that evaluates to a Converter.


setConverterIdString

public void setConverterIdString(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 Converter createConverter()
                             throws javax.servlet.jsp.JspException
Specified by:
createConverter in class ConverterELTag
Throws:
javax.servlet.jsp.JspException

createClassicConverter

protected Converter createClassicConverter()
                                    throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException


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