10. ICEfaces Tag Reference
Contents > ICEfaces Tag Reference > ice:panelPositioned
ice:panelPositioned |
|
The ice:panelPositioned tag allows lists to be used to generate a series of repeating child-components within a panel. Each one of these child-components is draggable and can exchange positions with other children. In addition, a child component can be moved between different positioned panel components. When a Child Component is moved the source value (A java.util.List ) for the positioned panel is modified to reflect the new order of the positioned panel.
Example
<ice:panelPositioned value="#{backingBean.carList}" var="car" rows="2">
<ice:panelGroup>
<ice:outputText value="#{car.make}" />
</ice:panelGroup>
</ice:panelPositioned>
Rendered Output
|
Tag Attributes
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| constraint |
Enumerated |
| |
| The constraint attribute sets the type of placement. If this attribute is set to horizontal or vertical, then the drag will be constrained to take place only horizontally or vertically. |
| first |
Text |
| |
| The first attribute ... |
| handle |
CSS Class |
| |
| The handle attribute sets the CSS of the child node that is used to drag the item. |
| hoverclass |
CSS Class |
| |
| The hoverclass attribute sets the CSS class of the list item being hovered. |
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| listener |
Text |
| |
| The listener attribute sets a reference to the method that is invoked when the list is changed. |
| overlap |
CSS Class |
| |
| The overlap attribute sets the CSS class of the list item being hovered. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| rows |
Text |
| |
| The rows attribute sets the number of rows to display, starting from the row identified by the "first" attribute. If the value of the rows attribute is set to zero, all available rows in the underlying data model will be displayed. |
| style |
CSS Style |
| |
| The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
| styleClass |
CSS Class |
| |
| The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
| value |
Text |
| |
| The value attribute sets the current value for this component. |
| var |
Text |
| |
| The var attribute sets the name of a request-scope attribute exposing the data for each iteration over the rows in the underlying data model for this table. |
|