Use special care when configuring these HTML tags in source HTML.
Description |
Tag |
In most cases, omit attributes in the form tag: <FORM> You can use the URL directive to specify a default action in the FORM tag. For example: <FORM ACTION={URL "default-action-specification" } > |
|
<INPUT TYPE="submit" NAME="pyStream=myStream"> <INPUT TYPE="submit" NAME="pyActivity=myActivityClass.myActivity"> |
|
<A HREF="{URL "pyActivity=Myclass.myActivity"}"><P>My anchor text</P></A> |
|
<IMG SRC="myImage.gif"> |
|
Use this syntax for a text box: <INPUT TYPE="text" NAME="{THIS-NAME}" > For a text box defined in an HTML Property rule, see the Note. Use ordinary HTML to present a fixed list of drop-down choices. Optionally, use the Dynamic Select control to provide a drop-down list of choices for the user, determined by a custom activity. See Dynamic Select control. |
|
The syntax for a check box looks like: <INPUT
NAME="myPage.myProperty"
TYPE="checkbox" For a text box defined in an HTML Property rule, see the Note below. |
|
Use this syntax for selection boxes: <SELECT
NAME="{THIS-NAME}"> For a text box defined in an HTML Property rule, see Note below. |
|
Use this syntax for a text area: <TEXTAREA
NAME="{THIS-NAME}" ROWS="n"
COLS="n"> For a text box defined in an HTML Property rule, see the Note below. |
|
Option buttons (radio buttons) |
Use the Foreach directive and the With directive to produce a set of option buttons that correspond to property values. For example, the following source creates a line for
each child of the MyChildren property, a {with target = ".Target"
} and stores the name of the selected child in the Select |
Note:When you use an INPUT
element for
a text box, check box, selection box or textarea in an HTML
Property rule, omit the NAME
attribute and its
value. The system determines the NAME
and value
from the property rule that references the HTML Property
rule.
stream processing | |
About
HTML Property rules
Comparing source HTML and processed HTML Directives Special characters in Source HTML |