OverviewSince 4.3 The ace:dashboard component is a component that contains ace:dashboardPane's that can contain arbitrary content and are resizable, draggable and closable. The panes are arranged in a grid with fixed base dimensions (in pixels), and they can span multiple rows and/or columns in the grid, as specified or as modified by the user.
Getting StartedIn its simplest form, an ace:dashboard component can be defined as follows. <h:form id="form"> <ace:dashboard id="dashboard" maxColumns="3" resizable="true" draggable="true"> <ace:dashboardPane headerText="One"> <h:outputText value="Pane one content." /> </ace:dashboardPane> <ace:dashboardPane headerText="Two"> <h:outputText value="Pane two content." /> </ace:dashboardPane> <ace:dashboardPane headerText="Three"> <h:outputText value="Pane three content." /> </ace:dashboardPane> </ace:dashboard> </h:form> Attributes
Here are some general configuration options of the dashboard. A lot of the configuration is done on the ace:dashboardPane components. maxColumns The maximum number of columns to allow in the dashboard. Valid values range from 1 to 100. Any other value will be treated as 100. paneWidth The base/minimum width of the panes in pixels, which determines the column width as well. This value can be multiplied by the pane's 'sizeX' property. paneHeight The base/minimum height of the panes in pixels, which determines the row height as well. This value can be multiplied by the pane's 'sizeY' property. resizable Specifies whether the panes are resizable or not. draggable Specifies whether the panes are draggable or not. Client Behavior EventsThe ajax events are defined on the ace:dashboardPane component. JavaScript APIsICEfaces 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 IssuesAn ace:dashboard component inside an ace:tabSet is not displaying properly at the moment. Observations and Tips
|
Dashboard
© Copyright 2021 ICEsoft Technologies Canada Corp.