Name
ConverterTag
Synopsis
This class is a base
class for JSP tag
handler class actions that configures the component represented by
the closest UIComponentTag
parent tag handler with
a Converter
.
Synopsis
Class name: |
javax.faces.webapp.ConverterTag |
Extends: |
javax.servlet.jsp.tagext.TagSupport |
Implements: |
javax.servlet.jsp.tagext.IterationTag |
Constructors
-
public ConverterTag()
Creates an instance.
Methods
-
protected javax.faces.convert.Converter createConverter()
Returns a
Converter
, configured based on tag handler attribute values. An implementation of this method can be provided by a subclass. This implementation creates an instance of the converter identified by theconverterId
attribute.-
public int doStartTag()
Calls
createConverter()
to create aConverter
and configures the component represented by the closestUIComponentTag
parent tag handler to use if the component was created while processing the JSP page.-
public void release()
Releases all references to acquired resources.
-
public void setConverterId(String converterId)
Sets the
converterId
attribute.
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.