In the reference
, when
, with
, and foreach
directives, you can reference properties indirectly rather than by name.
When you reference a property indirectly, you are implicitly referring to the current active property. Use any of these to set up a property as the active property:
IN
or INPAGE
keywordsAfter your HTML has established the active property, use symbolic values (keywords) to reference the property indirectly. Use these symbolic values in the Reference, the When, Foreach, and With directives.
Symbolic value |
Description |
|
Use |
|
Use this keyword to refer to the current value of the named parameter on the current parameter page of the activity. Example: <input type=hidden name="param.UserID" value="VANDJ"> Note: The parameter page is not visible with the Clipboard tool. Use the Tracer to examine the current parameter page. |
Use For example, if you have a selection box that lets a user choose an account type, and Account_Type is the active property, use the active property as the name of the selection box. That way, the user's choice becomes the value for the property named Account_Type: <SELECT NAME="{$THIS-NAME}"> |
|
Use |
|
Use For example, to display the pyLabel value of the active property, use {$THIS-DEFINITION(.pyLabel)}. This symbolic value is frequently used to specify the maximum length or expected size. |
|
Use |
|
|
Use |
Use The base page is the same as the primary page, if it has not been changed by the with directive. If the With directive has changed the primary page, the base page is the page established by the with directive. (The keyword |
|
Use The base page is the same as the primary page if it has not been changed by the With directive. If the With directive has changed the primary page, the base page is the page established by the With directive. |
|
Use |
|
Use |
|
Use this keyword to supply the named property from the Rule-Obj-Class instance that corresponds to the class of the current page. |
|
|
Use |
Use this syntax to qualify the value of the $THIS
symbol when the property is an aggregate: (An aggregate is a property that has any property mode other than Single Value
.)
Symbolic Value |
Description |
|
If the mode of the property is a page, {$THIS.myProperty} identifies the value of myProperty within that page. |
Two advanced symbolic values support operation of the Rules Inspector tool.
Symbolic Value |
Description |
|
Identifies the named property of the current stream definition. |
|
Identifies the handle of the stream definition. |