public class AbstractConverterTag
extends javax.faces.webapp.ConverterELTag
Base class for all ConverterTag
s.
Modifier and Type | Field and Description |
---|---|
protected javax.el.ValueExpression |
binding
The
ValueExpression that evaluates to an object that
implements Converter . |
protected javax.el.ValueExpression |
converterId
The identifier of the
Converter
instance to be created. |
Constructor and Description |
---|
AbstractConverterTag() |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.convert.Converter |
createConverter()
Create and return a new
Converter to be registered
on our surrounding UIComponent . |
protected static javax.faces.convert.Converter |
createConverter(javax.el.ValueExpression converterId,
javax.el.ValueExpression binding,
javax.faces.context.FacesContext facesContext) |
void |
setBinding(javax.el.ValueExpression binding)
Set the expression that will be used to create a
ValueExpression that references a backing bean property
of the Converter instance to be created. |
void |
setConverterId(javax.el.ValueExpression converterId)
Set the identifer of the
Converter
instance to be created. |
protected javax.el.ValueExpression binding
The ValueExpression
that evaluates to an object that
implements Converter
.
protected javax.el.ValueExpression converterId
The identifier of the Converter
instance to be created.
public void setBinding(javax.el.ValueExpression binding)
Set the expression that will be used to create a
ValueExpression
that references a backing bean property
of the Converter
instance to be created.
binding
- The new expressionpublic void setConverterId(javax.el.ValueExpression converterId)
Set the identifer of the Converter
instance to be created.
converterId
- The identifier of the converter instance to be
created.protected javax.faces.convert.Converter createConverter() throws javax.servlet.jsp.JspException
javax.faces.webapp.ConverterELTag
Create and return a new Converter
to be registered
on our surrounding UIComponent
.
createConverter
in class javax.faces.webapp.ConverterELTag
Converter
javax.servlet.jsp.JspException
- if a new instance cannot be createdprotected static javax.faces.convert.Converter createConverter(javax.el.ValueExpression converterId, javax.el.ValueExpression binding, javax.faces.context.FacesContext facesContext)
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.