Evolutility.org 4.1

Meta-model optional elements

Beside the required elements form, data, panel, and field, the additional optional elements panel-details, queries and query, and tab can be used to add functionalities like master-details, cross-references lists, predefined queries, or more page structure.

These elements are supported by Evolutility using XML but not yet by Evolutility Dictionary.

Notes: A field element nested in a panel-details only requires a subset of the attributes of a field nested in a panel.


queries and query elements

It is possible to add canned queries as a "Selections" button on the toolbar.

<queries label="Selections of restaurants">
<query label="Restaurant in San Francisco" dbwhere="t.City = 'san francisco'" url="sfo" />
<query label="Asian food" dbwhere=" t.categoryID IN (3,4,5,6,7,11,12)" url="asian" />

A queries contains several query. The queries element uses the following two optional attributes:

Footer text displayed below the list of queries.

Introduction text displayed above the list of queries.

Attributes of query are as follow:

SQL Where clause for the query.

Query title.

Key used to identity each query within the list. Each key can be used in links within the page to force the control to display the corresponding query. Example:

<a href="javascript:__doPostBack('evo1','q:sfo')">Restaurants in San Francisco</a>

Note: In addition to specifying queries and query in the metadata, the Web control property DBAllowSelections must be set to True.