Previous Topic: sfHierNext Topic: sfMultiLookup


sfLookup

The sfLookup macro specifies a lookup control in the search filter of a list form. A lookup control allows a user to click the caption (header) of the control to pop up a selection form.

This macro has the following properties:

addPercent=yes|no

Specifies whether to allow wildcard character searches. This property defaults to the value of the web_wildcard_search option.

attr=attributeName

(Required) Specifies the name of the attribute associated with the control.

colspan=1|number

Specifies the number of columns on the form.

extraURL=string

Specifies a where clause predicate in URL format to restrict the contents of the control.

factory=name

Specifies the name of a Majic factory for the selection list. Defaults to the factory referenced by the associated attributes, and so is not typically required.

hdr=text

Specifies the text of the caption on the control; defaults to the DISPLAY_NAME of the attribute associated with the control.