Both simple component ids as well as client ids are supported. Components can be rendered without their parents having to be rendered. As such, e.g. single rows appearing in a table can be rendered without any of the surrounding markup appearing in the response.
The intended usage of this component is to allow client-side scripts to request markup for specific components via a GET request (as opposed to AJAX based post-backs).
This component is used in the same way view parameters are and needs to be put into the metadata section of a Facelet.
Info | Value |
---|---|
Component Type | org.omnifaces.component.input.ComponentIdParam |
Handler Class | None |
Renderer Type | None |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
componentIdName | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The name of the request parameters from which the values are retrieved on an initial request that represent component ids of those components from which the markup should appear in the response (i.e. which should be rendered) |
clientIdName | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The name of the request parameters from which the values are retrieved on an initial request that represent client ids of those components from which the markup should appear in the response (i.e. which should be rendered) |
renderChildren | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
|
Whether children of the components identified by clientIdName or
componentIdName are rendered in addition to the component itself.
Defaults to true
|
id | false | javax.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. |
binding | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| The ValueExpression linking this component to a property in a backing bean |
Output generated by Vdldoc View Declaration Language Documentation Generator.