The <o:moveComponent> component is a utility component via which components, facets and behaviors can be moved at runtime
to a target component in various ways. This allows for simple programmatic composition of components using a declarative page author
centric approach.
The destination of a move operation is specified in terms of a location that's relative to a given target component. The following shows a list of supported destinations:
BEFORE - Component is moved right before target component, i.e. as a sibling with an index that's 1 position lower.
ADD_FIRST - Component is added as the first child of the target component, any other children will have their index increased by 1.
ADD_LAST - Component is added as the last child of the target component, any other children will stay at their original location.
FACET - Component will be moved to the facet section of the target component under the name denoted by "facet".
BEHAVIOR - A Behavior will be moved to the behavior section of the target component.
AFTER - Component is moved right after target component, i.e. as a sibling with an index that's 1 position higher.
| Info | Value |
|---|---|
| Component Type | org.omnifaces.component.util.MoveComponent |
| Handler Class | None |
| Renderer Type | None |
| Description | None |
| Name | Required | Type | Description |
|---|---|---|---|
behaviorDefaultEvent | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| In case the destination is set to BEHAVIOR, the name of the default event that the target component is 'supposed' to have.
This normally does not need to be set, but might be needed for some over-eager tag handlers associated with a behavior that in advance try
to check whether the behavior event matches with what the component supports. |
behaviorEvents | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| In case the destination is set to BEHAVIOR, the comma separated list events that the target component is 'supposed' to support.
This normally does not need to be set, but might be needed for some over-eager tag handlers associated with a behavior that in advance try
to check whether the behavior event matches with what the component supports. |
binding | false | jakarta.el.ValueExpression
(must evaluate to jakarta.faces.component.UIComponent)
| The ValueExpression linking this component to a property in a backing bean. |
destination | false | jakarta.el.ValueExpression
(must evaluate to org.omnifaces.component.util.MoveComponent.Destination)
| The destination relative to the target component where the source component(s) are moved to. Valid values are
|
facet | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| In case the destination is set to FACET, the name of the facet in the target component to which the components should be moved. |
for | true | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| ID of the target component for which the component moving will be done. |
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. |
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. |
Output generated by Vdldoc View Declaration Language Documentation Generator.