4.4.1 The Table tag
Description
This tag allows drawing a table (Datagrid).
Example
| Rendering |
|
XHTML settings | <bluage:Table id="tableSearchResult" instancename="searchResult" listtype="Contact" selectioninstancename="selectedContact" scope="request" source="service" selectionmode="single" rowsdisplayed="3" showpagination="true" > <table class="detailText" /> (…) </bluage:Table> |
| Screen activity diagram |
|
| Entities Diagram | N/A |
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | Table |
| Documentation | Defines a dynamic table |
| Diagram |
|
Tag attributes: description
| Attribute | Required | Description | ||||
| Id | Y | Table ID | ||||
| Instancename | N | Name of the list bound to the table. | ||||
| Parentinstancename | N | If the list is filled with a calculated object list field (BO), (as it is the case for a master detail), the attribute must include the “master” object instance Name and this object’s list field. Example :
| ||||
| Selectioninstancename | N | The instance name of the object selected in the table. | ||||
| multipleselectioninstancename | N | The instance name of the selected objects list. | ||||
| listtype | Y | The list object type. | ||||
| selectionmode | N | Selection mode single : one line can be selected, multiple : various line scan be selected, both : for both (single and multiple) | ||||
| showpagination | N | Defines if the pagination must be displayed: « true » or « false » (default value). | ||||
| rowsdisplayed | N | Number of lines to show per page if « showpagination » = true | ||||
| paginatormaxpages | N | Number of page numbers that have to be displayed in the pagination, if « showpagination » = true | ||||
| sortable | N | Enables sorting | ||||
| scope | N | Instance scope (« list » object in use) | ||||
| headerstyleclass | N | Style class for the table header | ||||
| footerstyleclass | N | Style class for the table footer | ||||
| rowsstyleclass | N | Style class for the table lines, it may contain various classes separated by commas. | ||||
| paginationstyleclass | N | Style class for pagination | ||||
| selectedrowstyleclass | N | Style class for selected lines | ||||
| selectionbgcolor | N | Background color of the selected line | ||||
| selectiontextcolor | N | Text color of the selected line | ||||
| source | N | List source (instancename), service : to get it back from a service, generic : (default) to get back all the objects list | ||||
| To set up the links in the tables (bluage : Table) The « bluage :TableLink » tag must be used rather than the « bluage :Link ». |
| If pagination is activated, corresponding images must be integrated in the mockup like this:
|





