<o:converter>
basically extends the <f:converter>
tag family with the
possibility to evaluate the value expression in all attributes on a per request basis instead of on a per view
build time basis. This allows the developer to change the attributes on a per request basis.
When you specify for example the standard <f:convertDateTime>
by
converterId="javax.faces.DateTime"
, then you'll be able to use all its attribuces such as
pattern
and locale
as per its documentation, but then with the possibility to supply
request based value expressions.
<o:converter converterId="javax.faces.DateTime" pattern="#{item.pattern}" locale="#{item.locale}" />
Info | Value |
---|---|
Converter ID | omnifaces.Converter |
Handler Class | org.omnifaces.taghandler.Converter |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
binding |
false
| javax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter )
| A ValueExpression that evaluates to an object that implements the javax.faces.convert.Converter interface. |
converterId |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Converter identifier of the Converter to be created and registered.
|
for |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| If present, this attribute refers to the value of one of the exposed attached objects within the composite component inside of which this tag is nested. |
Output generated by Vdldoc View Declaration Language Documentation Generator.