OverviewSince 4.0 The ace:splitPane component is a container that renders a <div> element divided into a left and a right pane, which in turn can include any arbitrary content.
Getting StartedTo use the SplitPane component nest two facets inside the ace:splitPane tag, one named 'left' and another named 'right'. These facets can include any arbitrary content and components. <ace:splitPane id="splitPane" scrollable="true" columnDivider="50"> <f:facet name="left" id="leftFacet"> <h:outputText value="Left pane content" /> </f:facet> <f:facet name="right" id="rightFacet"> <h:outputText value="Right pane content" /> </f:facet> </ace:splitPane> Attributes
The scrollable flag determines if both panes are scrollable. The columnDivider attribute is used to specify the percentage of the total width of the component that will be given to the left pane. Event ListenersNone. 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 SupportNone. Known IssuesNone. CSS ClassesThe following markup represents the basic HTML structure of the component and the CSS classes it uses. <!-- Root container --> <div class="ui-widget ace-splitpane [user defined classes]" style="[user defined styles]"> <!-- Left pane --> <div class="ui-widget-content ace-splitpane-scrollable [user defined classes]"> <!-- Left pane content --> </div> <!-- Right pane --> <div class="ui-widget-content ace-splitpane-scrollable [user defined classes]"> <!-- Right pane content --> </div> </div> Additional ResourcesTutorialsThis component appears in the following ICEfaces tutorials: None |
SplitPane
© Copyright 2021 ICEsoft Technologies Canada Corp.