|
Property Types |
|
|
boolean (Boolean) User may choose between "true" and "false".
charset (Character Set) User may choose a character set from a dropdown list
color (Color) User enters color data directly or chooses from a color palette.
combo (Combo Box) User either chooses an option from the list or types in another. Options are defined with options attribute. e.g. options="A,B,C"
csscode (CSS Code) User enters CSS codes in a pop-up editor that highlights CSS reserved words.
datasource (Datasource) User may enter directly a datasource name or uses the dialog that pops-up when [...] is clicked to select one.
dslist (Datasource List) User may select a datasource from a datasource list of type in a datasource name.
dropdown (Dropdown List) User must choose an option from the list. Options are defined with options attribute. Example: options="1,2,3"
With this property type we can setup relations between the elements existing on a page. Using restr attribute we can define which types of elements can be selected as the value for this property. Defining the value of restr attribute that is used together with elmselect property type requires special attention. <prop name="abc" type="elmselect" restr="scope;elmtype"/>
Examples: <prop name="abc" type="elmselect" restr="../..;SelectionBox"/>
This definition will let the users to select an element with type "SelectionBox" that exist in the parent of the parent of the current element. <prop name="abc" type="elmselect" restr="@ProcessForm;ProcessDef"/>
This definition will let the users to select an element with type "ProcessDef" that exist in the closest parent of the current element who has the element type "ProcessForm".
file (File) User may type in a file name or choose one from the File dialog. With restr attribute file selection can be filtered. e.g. restr="*.txt"
Example: <prop name="propx" type="file" restr="*.xml;*.xsl"/>
font (Font) User may choose a font from the font dialog that pops up.
fontfamily (Font Family) User may choose a font-family from the combobox that lists the defined font-families or type in a new one.
htmlcode (HTML Code) User enters HTML code in a pop-up editor that highlights HTML syntax.
imgfile (Image File) Lets the user to choose an image file with a file dialog.
imgvariant (Image Variant) This is a special kind of property type that is used in "Graphic Text" element and lets the user to define Image alternatives for the elemen
integer (Integer) Accepts only integer number values.
embscript (Java Script) User enters Java Script code in a pop-up editor that highlights Java Script reserved words.
lookup (Selecting elements that has specified element types) This property type makes it possible to select the elements that have element types (via elmtype attribute) within the current page or within the project pages that have true in their "Enable LookUp" properties. The usage of restr attribute of the lookup property <prop name="abc" type="lookup" restr="element-type;search-definition;value-pattern;selection-method;columns"/>
If CScript functions are used in the restr definitions, they are resolved before the definitions are evaluated.
language (Language) User may choose a language from a dropdown list.
memoex (Memo) User may enter data for this property directly in the property editor or click on [...] to open the Memo Editor.
note (Note) Lets the use enter data in Notes editor.
pagelist (Page List) Lets the user to choose a page from the combobox or enter a new one.
password (Password) Used for password entry. The data is encrypted immediately .
Lets the user to select a series of Process Definitions through the dialog that pops up. The scope for the elements and the type of the process definitions are given with restr attribute. restr="scope;element-type"
scope: The scope of the elements to select element-type: The type of the element to select
Example: <prop name="proclist" caption="Process List" type="proclist"
propgroup (Property Group) Used to group sub-properties.
sitelist (Site List) Displays the list of the Sites existing in the project and lets the user make a selection.
sql (SQL) User enters SQL code in a popup window
string (String) Accepts string type data
xmldata (XML Data) User enters XML in the popping-up editor that highlights XML Syntax.
xslcode (XSL Code) User enters XSL code in the popping-up editor that highlights XML syntax and XSL instructions.
See Properties Exclusive to Library Elements.
|