4.4.1 The Table tag

Description

This tag allows drawing a table (Datagrid).

Example

Rendering

output_html_m3ecb6101.png


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
  • Screen

output_html_m2cc067c2.png

  • Calling screen

output_html_m7961bcd.png

Entities    DiagramN/A
Service    activity    diagramN/A

Tag attributes: reference

TagTable
DocumentationDefines a dynamic table
Diagram

output_html_1accc063.png

Tag attributes: description

AttributeRequiredDescription
IdYTable ID
InstancenameNName of the list bound to the table.
ParentinstancenameN

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 :

  • « contactWithFriends » is the « master » object’s instance.
  • « friends » is the « contactWithFriends » object list field which will allow filling the table.
    • Parentinstancename is in this case : « contactWithFriends.friends »
SelectioninstancenameNThe instance name of the object selected in the table.
multipleselectioninstancenameNThe instance name of the selected objects list.
listtypeYThe list object type.
selectionmodeN

Selection mode

single : one line can be selected,

multiple : various line scan be selected, both : for both (single and multiple)

showpaginationNDefines if the pagination must be displayed: « true » or « false » (default value).
rowsdisplayedNNumber of lines to show per page if « showpagination » = true
paginatormaxpagesNNumber of page numbers that have to be displayed in the pagination, if « showpagination » = true
sortableNEnables sorting
scopeNInstance scope (« list » object in use)
headerstyleclassNStyle class for the table header
footerstyleclassNStyle class for the table footer
rowsstyleclassNStyle class for the table lines, it may contain various classes separated by commas.
paginationstyleclassNStyle class for pagination
selectedrowstyleclassNStyle class for selected lines
selectionbgcolorNBackground color of the selected line
selectiontextcolorNText color of the selected line
sourceNList source (instancename), service : to get it back from a service, generic : (default) to get back all the objects list

output_html_3aa3f22d.png

To set up the links in the tables (bluage : Table) The « bluage :TableLink » tag must be used rather than the « bluage :Link ».

output_html_3aa3f22d.png


If pagination is activated, corresponding images must be integrated in the mockup like this:

output_html_m1703908b.png


BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission