OverviewSince 3.1 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.
Getting StartedIn most cases, it's enough to add the tag on the page without any configuration. <html ... xmlns:ace="http://www.icefaces.org/icefaces/components"> <h:body> <h:form> <ace:listControl id="listControl"> <f:facet name="header"> Multi List Header </f:facet> </ace:listControl> <ace:list .../> <ace:list .../> <ace:list .../> </h:form> </h:body> </html> Attributes
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 EventsNone. Javascript APIICEfaces 3.xThe client side component object is exposed through the global variable name specified in the widgetVar attribute. ICEfaces 4+The "widgetVar" attribute on the ACE components has been removed in ICEfaces 4 and in its place a new "ice.ace.instance()" client JavaScript object lookup API has been introduced. The reason for this change is to enable lazy-initialization of the ACE component JavaScript objects to improve runtime performance and reduce browser memory use. var widget = ice.ace.instance('frm:componentId);
Keyboard and ARIA SupportNot supported at the moment. Known IssuesNone at the moment. |
ListControl
© Copyright 2021 ICEsoft Technologies Canada Corp.