|
Class Reference
%CSP.PageLookup
|
|
![]() |
|||
Private Storage |
CSP page that provides a standard lookup for wizard-generated forms. It expects the following input:
CLASSNAME | Name of class to perform lookup on. |
OBJID | ID of current instance. |
SELECT | A comma-delimited list of fields to display in the search result table. Each field is of the form 'property alias|desc' where alias and |desc are optional. If not specified, the WHERE list is used as the SELECT list. |
WHERE | A comma-delimited list of fields to search on. Each field is of the form 'property alias|desc' where alias and |desc are optional. |
ORDER | A comma-delimited list of fields used to sort the search results. Each field is of the form 'property |desc' where |desc is optional. |
MAXROWS | Maximum rows to display; if missing don't execute query. |
TARGET | URL of page to return to with results. |
CAPTION | Caption for search window. |
OPTIONS | Comma separated list of feature codes. These include popup, create, and clear. |
OBJIDATTR | The name of the OBJID attribute for the associated form. |
Note: For range operations the value in the WHERE parameter contains two values delimited by &.
|
|
|
Caption for Cancel Button.
Make default charset for the page UTF-8.
Caption for Clear Button.
Caption displayed if none specified (for normal mode).
Override ENCODED from %CSP.Page
First half of "Find all" message.
Second half of "Find all" message.
First half of "Items Found" message.
Second half of "Items Found" message.
Error message to display when no criteria are specified for a search and the search button is pressed.
No matching items message.
List of values displayed in search predicate combo box.
Override PRIVATE from %CSP.Page
Caption for Search Button.
First half of "Items Shown" message.
Second half of "Items Shown" message.
|
Constructs a SELECT statement for the property list proplist.
Constructs a query using the input values, opens a%ResultSet object using this query and returns it via resultset.
- class
- The name of the class to perform the lookup on.
- restrict
- A list of restrictions as $lb(property,value).
- return
- A $list of properties to return in the resultset.
- orderby
- A list of $lb(property,ASC|DESC) that specify the order of the result set.
- getcount
- If true, the query should fetch the number of rows in the result.
- resultset
- Returns a
%ResultSet object by reference.- rcount
- Returns number of selected rows by reference. -1 indicates that the row count is in column 1 of the result set.
Returns a
%Status indicating success or failure.
Returns the SQL name of property prop for class classname in field.
Returns the type (SQL Category) of property prop for class classname.
Event handler for PAGE event: this is invoked in order to display a csp page.
URL Name of this class