The <o:param> is a component that extends the standard UIParameter to implement ValueHolder and thus support a
Converter to convert the supplied value to string, if necessary.
You can use it the same way as <f:param>, you only need to change f: into o: to get the extra support for a
Converter by usual means via the converter attribute of the tag, or the nested <f:converter> tag, or just
automatically if a converter is already registered for the target class via @FacesConverter(forClass).
Also, if no value is specified, but children are present, then the encoded output of children will be returned as param value. This is useful when you want
to supply Faces components or HTML as parameter of an unescaped <h:outputFormat>. For example,
<h:outputFormat value="#{bundle.paragraph}" escape="false">
<o:param><h:link outcome="contact" value="#{bundle.contact}" /></o:param>
</h:outputFormat>
with this bundle
paragraph = Please {0} for more information.
contact = contact us
will result in the link being actually encoded as output format parameter value.
| Info | Value |
|---|---|
| Component Type | org.omnifaces.component.output.Param |
| Handler Class | None |
| Renderer Type | None |
| Description | None |
| Name | Required | Type | Description |
|---|---|---|---|
binding | false | jakarta.el.ValueExpression
(must evaluate to jakarta.faces.component.UIComponent)
| The ValueExpression linking this component to a property in a backing bean. |
converter | false | jakarta.el.ValueExpression
(must evaluate to jakarta.faces.convert.Converter)
| No Description |
disable | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| No Description |
id | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
name | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
rendered | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true. |
value | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object)
| No Description |
Output generated by Vdldoc View Declaration Language Documentation Generator.