Panel | ||
---|---|---|
| ||
Summary pages are used to display multiple records in a tabular form. A summary screen displays multiple records based on search criteria. An SQL or an EJB method at the beginning of the file determines the information that will be retrieved and |
...
displayed on the summary page.
What does this section cover?
|
Attributes
Name | Description | Value | ||||
---|---|---|---|---|---|---|
title | The title of the page. | Any | ||||
message | Displayed on top of the summary as a description. | Any | ||||
sql | The SQL statement to run to retrieve the records displayed on the summary page. Either sql or classname and functionname can be used. | Valid SQL statement | ||||
classname | , functionnameDefines the results that will be displayed. It can be used either with SQL or an EJB function. | Only valid SQL statements can be used | rowsperpage | Defines the limit of rows | The name of the EJB class containing the EJB method that will retrieve the records displayed on the summary page. Either sql or classname and functionname can be used. | Valid EJB class name |
functionname | The EJB method that will retrieve the records displayed on the summary page. Either sql or classname and functionname can be used. | Valid EJB method name | ||||
rowsperpage | The maximum number of rows that will be displayed per page. | Any numeric value | ||||
multiselect | If set to true, the user can select multiple records to pass them as parameters in summary actions. | true or , false | ||||
primaryfield | The identifier of the main entity that will be retrieved through the SQL, used as a parameter in the actions using multi-select. Multiple records can be set, separated by commas. If there are no order-by-fields defined, by default the SQL will be ordered by the primary-field ascending. | Any SQL field | ||||
mainlinkfield | Used in order to define which fields the mouse over option will be applicable to. Multiple records can be set, separate by commas. If there are no order-by-fields defined, by default the SQL will be ordered by the main-link-field ascending. | Any SQL field | ||||
groupby | Used in order to retrieve the results grouped by the specified fields. | Any SQL field | ||||
autosearch | Used in order to search the summary page automatically. | true or , false | ||||
hidefindbutton | Used to hide the find button | true or , false | ||||
orderbyfields | Used in order to retrieve the results ordered by the specified fields | Any SQL field | ||||
groups | Used in order to create a group of expand fields. Multiple groups can be set separate by semicolons. | Any | ||||
entityfilter | Used in order to filter the results based on the business rules. | Any entity | ||||
module | The related module name. | Any module | ||||
fieldlist | Used to define the fields that will be retrieved from the SQL. | Any SQL field | ||||
hidetitlebar | Used in order to hide the title bar of the summary page | true or , false | ||||
actions | Used in order to open a new page through the summary page. | Actions | ||||
savecriteria | If set to false, the search criteria will not be saved as the default criteria, otherwise they are always saved. | true, false | ||||
allownocriteria | Indicates if no criteria needs to be defined in order to search. | true, false | ||||
organisationdatabase | If set to true, the SQL will run on the ecenter database, if set to false the SQL will run on the organisation database. | 2.1.1. Actions |
...
The default value is false. | true, false | |
superuseraccess | If set to true, only superusers have access to the page. The default value id false. | true, false |
openlinksinmodal | If set to true, all links will open in a modal page. The default value is false. | true, false |
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
...