The ace:listControl component renders a set of controls for moving items among ace:list components. It requires a selector that defines the set of ace:list components to move items between. Defaults to all lists. Optionally if this component has two nested ace:list children, they will be rendered within a styled container, and connected via this control without configuration.
|See the ICEfaces Showcase Live Demo of this component, complete with source code.|
In most cases, it's enough to add the tag on the page without any configuration.
<html ... xmlns:ace="http://www.icefaces.org/icefaces/components">
Multi List Header
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
selector: JQuery/CSS selector defining the group of lists this control navigates and creates mutually exclusive selection between. Default selects all lists. When in dual list mode, this property has no effect. Default = '.if-list'.
position: When dual list mode is used, this property will determine if we render the migration control in the "MIDDLE", on the "TOP", "BOTTOM" or "BOTH" ends of the nested lists. "ALL" renders controls in every position Default = 'DualListPosition.TOP'.
format: Defines the order that the movement controls appear in. Default = 'alll lft rgt allr'.
Client Behavior Events
The client side component object is exposed through the global variable name specified in the widgetVar attribute.
var widget = ice.ace.instance('frm:componentId);
|The ice.ace.instance function requires the full client id of the component to be specified, such as "j_idt77:componentId" instead of just "componentId". To reduce the complexity of working with complete IDs with this function it may be preferable in some cases to use prependId="false" in the enclosing form (e.g. <h:form prependId="false">).|
Keyboard and ARIA Support
Not supported at the moment.
None at the moment.