public class ConvertDateTimeTag extends AbstractConverterTag
ConvertDateTimeTag is a ConverterTag implementation for javax.faces.convert.DateTimeConverter
binding, converterId| Constructor and Description |
|---|
ConvertDateTimeTag() |
| 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. |
int |
doStartTag()
Create a new instance of the specified
Converter
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentClassicTagBase instance, if
the UIComponent instance was created by this execution of the
containing JSP page. |
protected static Locale |
getLocale(String string) |
void |
release() |
void |
setDateStyle(javax.el.ValueExpression dateStyle) |
void |
setLocale(javax.el.ValueExpression locale) |
void |
setPattern(javax.el.ValueExpression pattern) |
void |
setTimeStyle(javax.el.ValueExpression timeStyle) |
void |
setTimeZone(javax.el.ValueExpression timeZone) |
void |
setType(javax.el.ValueExpression type) |
createConverter, setBinding, setConverterIdpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic void setDateStyle(javax.el.ValueExpression dateStyle)
public void setLocale(javax.el.ValueExpression locale)
public void setPattern(javax.el.ValueExpression pattern)
public void setTimeStyle(javax.el.ValueExpression timeStyle)
public void setTimeZone(javax.el.ValueExpression timeZone)
public void setType(javax.el.ValueExpression type)
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.faces.webapp.ConverterELTagCreate a new instance of the specified Converter
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentClassicTagBase instance, if
the UIComponent instance was created by this execution of the
containing JSP page. If the localValue of the
UIComponent is a String, attempt to convert it.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.faces.webapp.ConverterELTagjavax.servlet.jsp.JspException - if a JSP error occursprotected javax.faces.convert.Converter createConverter()
throws javax.servlet.jsp.JspException
javax.faces.webapp.ConverterELTagCreate and return a new Converter to be registered
on our surrounding UIComponent.
createConverter in class AbstractConverterTagConverterjavax.servlet.jsp.JspException - if a new instance cannot be createdCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.