Work with HTML Templates
|
|
Use TemplateMaker to create HTML pages and incorporate database calls into those pages, specifying the style and format for data submitted and returned. TemplateMaker provides an easy interface for working with HTML tags although, if you prefer working in another HTML editing program, you can create pages in that program and use TemplateMaker just for coding the database interactions. Use SQLEditor to enter the SQL statements that your templates use to retrieve and post data. Your templates refer to a SQL statement by its command ID.
To work with TemplateMaker, you should be familiar with the HTML specification version 3.2 or later. For more information, refer to the World Wide Web consortium Web site.
You can work on multiple templates simultaneously by creating several new templates or opening a group of existing templates.
To check out the template again, see Open a Template on the Server.
Search for and Replace Text in a Template
TemplateMaker does not validate the HTML syntax.
|
To define |
Use |
|
Basic document structure such as centering text, using a style sheet, and so on | |
|
Applets, scripts, ActiveX controls, and so on | |
|
Form input data, select lists, buttons, and so on | |
|
Frames in a page | |
|
Images to display and image maps | |
|
Anchor tags for links | |
|
Definition, ordered, or unordered lists | |
|
Table caption, size, rows, and columns | |
|
Text format such as bold, line breaks, citations, and so on. |
Incorporate Data and Dynamic Behavior in a Page
|
To define |
Use |
|
Format of data retrieved from a database. Options include tables, radio buttons, check boxes, select lists, and so on. Processed after <REP>. | |
|
Text and template used for display of error messages requested by another template. Processed after the <CMD> tag if an error arises. | |
|
Insertion of another template in a current template. Processed first among XLiRAD tags. | |
|
Replacement of page variables with data retrieved from a database. Processed after <INC>. | |
|
Replacement of page variables from a result set different from the one used with a preceding <REP> tag. Processed after <CMD> provided no error occurs. |
Use the following user-interface elements of TemplateMaker to create and manage templates in XLiRAD:
For information about dialog boxes presented when you work with TemplateMaker, see:
The TemplateMaker provides a user interface for viewing, authoring, and editing standard HTML and custom command syntax used in templates.
As shown in the following illustration, the TemplateMaker window provides access to functions through toolbar buttons, window menus, and a shortcut menu.
A status bar at the bottom of the window provides the following information about the current template:
As shown in the following illustration, the Command Tag dialog box provides a sample output box where you can view a typical display that might result from using the specific tag attribute.
|
Button |
ToolTip |
|
|
New Template |
|
|
Open Local Template |
|
|
Print Template |
|
|
Browser View |
|
|
Save Template Locally |
|
|
Open Template From Server |
|
|
Save Template On Server |
|
|
Cut Text |
|
|
Copy Text |
|
|
Paste Text |
|
|
<CMD> |
|
|
<ERR> |
|
|
<INC> |
|
|
<REP> |
|
|
<REP2> |
|
|
Refresh Server Lists |
Use the File menu to manage template files on the server or on the local computer.
|
Command Name |
Description |
|
New |
Presents a blank area in the TemplateMaker window for creating a new template. |
|
Open Local |
Opens a template stored on the local computer. |
|
Save Local |
Saves a template on the local computer. |
|
Save As Local |
Saves a template under a new name on the local computer and leaves original template intact. |
|
Open From Server |
Opens a template stored on the server. |
|
Save On Server |
Saves a template on the server. |
|
Save As On Server |
Saves a template under a new name on the server and leaves original template intact. |
|
Check In |
Saves the current template to the server and sets it to read-only mode. |
|
Revision Viewer |
Presents a window for display of comments describing revisions to a template. |
|
Browser View |
Displays the template as it would appear in an HTML browser. |
|
Refresh Server Data |
Connects to the server and displays the current template data. |
|
|
Outputs the template to a printer. |
|
Exit |
Closes the TemplateMaker user interface. |
Use the Edit menu to manipulate text in a template.
|
Command |
Description |
|
Cut |
Removes selected text from its current cursor position in the current template and copies it to the Clipboard. You can paste it into another area of the template or into another template. |
|
Copy |
Copies selected text from the current cursor position in the current template into the Clipboard. You can paste it into another area of the template or into another template. |
|
Paste |
Adds at the cursor position any text that you placed in the Clipboard using Cut or Copy. |
|
Find |
Displays a dialog box where you can specify text to locate in the current template. |
|
Find Again |
Repeats a search defined using the Find command. |
|
Replace |
Displays a dialog box where you can specify text to locate as well as text to paste in its place. |
The XLiRAD Tags menu provides menu commands that display dialog boxes for defining how your template page presents data retrieved from the database by means of SQL statements defined in SQLEditor. The menu contains the following commands.
FormProcessor, the DBServer component that processes templates, interprets XLiRAD tags in the following order:
Use the option tabs to define the format you
want. TemplateMaker inserts beginning and ending <CMD> tags followed by the available options and the
values you define in the format dialog box. The template strings these options
and values together in the syntax:
&OPTION_NAME=your_value
Message or comment text (if supported in the dialog box for the format) appears in square brackets.
All formats support error handling.
For an illustration of how a browser might display tag format, see the Sample Output box in the right corner of the Command Tag dialog box.
To modify <CMD> tag settings, right-click the tag code and point to Edit Command.
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it
appears in SQLEditor. The statement must contain a SELECT operation that retrieves one row with six
columns containing data in this order: |
|
Error Condition |
A type of error handling. The options are: None.The template displays nothing when an error occurs.
|
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
The name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
Select this check box to convert null values to spaces. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. The statement must return a two column result set. The template assigns the name of the first column to the check boxes. In addition, the template assigns the values of the first column as the values of the check boxes and the displays the values of the second column on the page. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. The statement contain return a single row. If the query produces multiple rows, the template uses only the first row. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Hidden Fields |
The names of fields (columns) that the template should not display. Data specified as hidden is still available for use on the form. |
|
Static Fields |
The names of fields (columns) that the template should not display but which should not be available for editing use in the form. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Known External Functions |
An external function ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Ignored Columns |
The names of the columns (fields) that you want to omit from the template data. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. This statement retrieves the initial result set and creates variables for each row with the column name as the name of the variable. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Execution ID |
The number of the SQL statement that receives data from the preceding statement. This statement must process the variables input from the preceding statement one row at a time. |
|
Break on Error |
This check box to terminate the "looping" of data from the first statement to the next when an error occurs. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. The statement should contain a SELECT operation that returns a single row. The template creates a name-value pair from the row data. The name-value pair associates a column name from the query with its value to form a new variable for use throughout the template. If the query returns multiple rows, the template uses only the values from the first row for the name-value pair. If the result set from the query is empty, TemplateMaker creates no new variables. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Money Fields |
The names of fields (columns) that contain monetary values. TemplateMaker rounds these values to two decimal places. Notice that TemplateMaker does not precede these values with a dollar sign ($) so you can treat the values as floating-point variables.) |
To substitute values in the template after using Pairs, use <REP2> rather than <REP> for the substitution. Because TemplateMaker executes <REP> tags before all other commands and tags, including <CMD> and < Pairs >, using the <REP> would cancel the effect of those tags.
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. The statement must be a two-column query. The template assigns the name of the first column to the radio control. In addition, the template selects the values of the first column in the control, and displays the values of the second column in the template. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Selected Value |
The column (field) name from the statement for which a radio-button value appears selected in the template. By default, the template shows the first value from the statement selected. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Row Template |
The name of the template used for formatting row data. |
|
Rows Per Page |
The maximum number of rows to display on the table for a large result set. The default page size for table formats is 25 rows. If the number of rows in the table exceeds the value for Rows Per Page, XLiRAD automatically breaks the pages and inserts "Next" and "Previous" links beneath the table for navigation through the remaining pages. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. The statement must be a two-column query. The template assigns the name of the first column to the list control. In addition, the template selects the values of the first column in the control, and displays the values of the second column in the template. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Selected Value |
The column (field) name from the statement for which a value appears selected in the template. By default, the template shows the first value from the statement selected. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Hidden Fields |
The name of data-table columns (fields) that should not appear in the template as a column name. You might use this field for a link. |
|
Use Auto Header |
This check box to create a row of headers with the field names from the SQL statement. |
|
Money Fields |
The name of any data-table column (field) that contains a monetary value. When displayed, the value appears preceded by a dollar sign and rounded to two decimal places. |
|
Show Row Count |
This check box to display the number of rows at the bottom of the table. |
|
Row Colors |
To define a single background color for the table, A color in the only leftmost list box. To define two alternating colors, A color in both the left and right list boxes. |
|
Link Column |
The name of the column (field) in this result set that you want to link to from another template. |
|
Link Template |
A name of the template to link to. |
|
Link Fields |
The name of a field to send to the linked template. Separate the link fields with commas. |
|
Rows Per Page |
The maximum number of rows to display on the table for a large result set. The default page size for table formats is 25 rows. If the number of rows in the table exceeds the value for Rows Per Page, XLiRAD automatically breaks the pages and inserts "Next" and "Previous" links beneath the table for navigation through the remaining pages. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Command ID |
The number of the SQL statement as it appears in SQLEditor. |
|
Error Condition |
A type of error handling. The options
are: |
|
CommandName |
A name for the SQL statement identified by number under Command ID. |
|
Error Template |
A name of the template you want displayed when an error occurs. |
|
Error Message |
Custom text to display in the error template. |
|
Mask Null Values |
This check box to convert null values to spaces. |
|
Tree Node |
The field names from the statement as the nodes of the tree. Specify the nodes in order from highest to lowest and separate column (field) names with commas. To skip a field, type two consecutive commas. To skip the first column (field), start the list with a comma. The template does not display column (field) names if their names don't appear in this box. |
|
Tree Links |
The names of the templates that you want nodes to link to, if any. If none, leave this box blank. When typing multiple template names, separate the names with commas. |
Do not use this attribute with an extremely large result set. Tree does not have paging functionality; therefore, TemplateMaker converts the entire result set into a tree. When working with a very large result set, this conversion might result in a substantial strain on the servlet manager's memory resources and possibly cause low-memory errors. |
Use <ERR> to display errors generated from commands on the current template or another template. The <ERR> tag inserts the ERROR= attribute with a value that corresponds to the error message text. If no error occurs, TemplateMaker discards the <ERR> tag.
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Previous Template |
The name of a template or accept the default shown (the previous template used) to display when an error occurs. |
Use the <INC> tag to include other templates in the current template. TemplateMaker processes <INC> tags before other commands.
Complete the options as needed and click Include.
|
For this option |
Type or click |
|
Template Name |
A name of the template to include in this list box. |
|
Cache Template |
This check box to have TemplateMaker retain the template in the cache for better performance. |
Use <REP> to replace variables declared in a template with values retrieved earlier from the database using a different template linked or redirected to the current template. TemplateMaker processes <REP> tags after INC tags. Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Variable for Substitution |
The name of the variable you inserted in the template. TemplateMaker replaces that variable with the data retrieved from the database, if any. Otherwise, TemplateMaker disregards the variable. |
|
Use URL Encoding |
This check box to pass the variable in encoded form in the template's URL. |
Similar to <REP>, use <REP2> to replace variables declared in a template with values retrieved earlier from the database using a different template linked or redirected to the current template. However, unlike REP, you can also use REP to replace data retrieved by commands in the current template. TemplateMaker processes <REP2> tags after all other tags except <ERR>.
Complete the options as needed and click Submit.
|
For this option |
Type or click |
|
Variable for Substitution |
The name of the variable you inserted in the template. TemplateMaker replaces that variable with the data retrieved from the database, if any. Otherwise, TemplateMaker disregards the variable. |
|
Use URL Encoding |
This check box to pass the variable in encoded form in the template's URL. |
The HTML Tags menu provides commands that display dialog boxes used to define the HTML syntax and effects used on a template page. The menu contains the following commands.
|
|
|
Option |
Used to |
|
Define a background image, background and text colors, class, style, and link colors | |
|
<CENTER> |
Insert starting and ending tags for centered text. |
|
Define the appearance of a horizontal row in this page. | |
|
<STYLE> |
Insert a tag for specifying a cascading style sheet (.css) file used for this page. |
Complete the values as appropriate and click Submit.
For this option |
Type or click |
Example |
Background Color |
A color in this list box. |
BGCOLOR="Blue" |
Text Color |
A color in this list box. |
TEXT="Fuchsia" |
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Background Image |
The name of an image file to display. |
BACKGROUND= |
Link Color |
A color in this list box. |
LINK="Lime" |
Visited Link Color |
A color in this list box. |
VLINK="Black" |
Active Link Color |
A color option in this list box. |
ALINK="Teal" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. | ALIGN="Left". |
|
Class |
The name of the class that you want the tag to use. | CLASS="class_name". |
|
Style |
The name of the style that you want the heading level tag to use. | STYLE="style_name". |
|
Size |
A value for the thickness of the rule. | SIZE="value" |
|
Width |
A value for the width of the rule. |
WIDTH=" value " |
|
Option |
Used to |
|
Define a Java applet to run in this page. | |
|
Define an object to include on this page (for browsers other than Microsoft Internet Explorer Netscape Navigator version) | |
|
Include an ActiveX control on this page. | |
|
Specify parameters for a control. | |
|
Define JavaScript or VBScript to run on this page. |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Code |
The name of the file that contains the applet. |
CODE=" |
|
Code Base |
The URL for the folder that contains the applet. |
CODEBASE="URL" |
|
Archives |
The name of the archive file that contains the compressed applet. |
ARCHIVE="file_name" |
|
Height |
The height used for display of the object in relation to the entire page. |
HEIGHT="value" |
|
Width |
The width used for display of the object in relation to the entire page. |
WIDTH="value" |
|
Horizontal |
The amount of horizontal space on the left and right of the applet display. |
HSPACE="value" |
|
Vertical |
The amount of vertical space above and below the applet display. |
VSPACE="value" |
|
Name |
A name used to refer to an instance of this applet in the page. When you have multiple applets in the page, they can communicate with each other using this reference. |
NAME="instance_name" |
|
ID |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Name |
The name of the embedded object. |
NAME="object_name" |
|
Hidden |
This check box if you don't want the object to appear on the page. |
HIDDEN |
|
Source |
The URL of the object file. |
SRC="URL" |
|
Height |
The height used for display of the object in relation to the entire page. |
HEIGHT="value" |
|
Width |
The width used for display of the object in relation to the entire page. |
WIDTH="value" |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Class ID |
The class ID of an ActiveX control or the name of the object. |
CLASSID= |
|
Code Type |
The path to the code required to run the object. |
CODETYPE="path" |
|
Code Base |
The URL for the folder that contains the object. |
CODEBASE="URL" |
|
Height |
The height used for display of the object in relation to the entire page. |
HEIGHT="value" |
|
Width |
The width used for display of the object in relation to the entire page. |
WIDTH="value" |
|
Horizontal |
The amount of horizontal space on the left and right of the object display. |
HSPACE="value" |
|
Vertical |
The amount of vertical space above and below the object display. |
VSPACE="value" |
|
Data |
The data that initializes the state of the object. |
DATA="data_value" |
|
Type |
The MIME type for the object. |
TYPE="MIME_type" |
|
Name |
A name used to refer to an instance of this object in the page. When you have multiple applets in the page, they can communicate with each other using this reference. |
NAME="instance_name" |
|
ID |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left" |
|
Border |
A value for the thickness of the border around the object. |
BORDER="value" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Map |
The name of the map. |
USEMAP="map_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Type |
The MIME type for the object. |
TYPE="MIME_type" |
|
Value Type |
The type of value submitted with this tag. The options are Data, Ref, and Object. |
VALUETYPE="Ref" |
|
Value |
The value submitted in the name-value pair. |
VALUE="value" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Source |
The URL of the script file. |
SRC="URL" |
|
Defer |
This check box if you want the script to run later, not when the user first accesses the page. |
DEFER |
|
Language |
The appropriate scripting language: JavaScript, JavaScript 1.1, or VBScript. |
LANGUAGE= |
|
Type |
The appropriate MIME type: text/javascript or text/vbscript |
TYPE= |
|
Option |
Used to |
|
Define the appearance of an input button in a form for Microsoft Internet Explorer version 4.0 and compatible browsers. | |
|
Define form methods, actions, and other settings. | |
|
Define the style and value used to submit data from the form. | |
|
Define the appearance of a list box for submitting form data. Used with a <SELECT> tag. | |
|
Define items that appear in a select list box. Used with an <OPTION> tag. | |
|
Define the appearance of multiple lines of text to appear in the form. |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Name |
A name or reference for the button. |
NAME="name" |
|
Disabled |
This check box if you want this attribute disabled in the form. Disabled is available for all types except Hidden. |
DISABLED |
|
Value |
A label for the button. |
VALUE="value" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Type |
The appropriate type of button action: Button, Reset, Submit. |
TYPE="Submit" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Action |
The URL of the location where the page submits data for response. |
ACTION="URL" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Method |
The appropriate method for this form: Get or Post. |
METHOD="Get" |
|
Target |
The name of the target window. |
TARGET=window_name |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Type |
The type of input data the form accepts. The options are Checkbox, File, Hidden, Image, Password, Radio, Reset, Submit, and Text. |
TYPE="Radio" |
|
Disabled |
This check box if you want this attribute disabled in the form. Disabled is available for all types except Hidden. |
DISABLED |
|
Name |
The name of the data field. |
NAME="field_name" |
|
Read Only |
This check box when you want the data to be read only. Read Only is available when you click the Checkbox, File, Password, or Text types. |
READONLY |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Checked |
This check box when you want the check box or radio button selected. Checked is available when you click the Checkbox, File, Password, or Text types. |
CHECKED |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Size |
The value for the size of the data field displayed based on its type. Size is available when you click the File type. |
SIZE="value" |
|
Value |
The value displayed for the field. Value is available for all types except Image. |
VALUE="value" |
|
Max Length |
A value for the maximum length of the field. |
MAXLENGTH="value" |
|
Source |
The URL of an image. |
SRC="URL" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Value |
The value that the form returns when the user selects this option. |
VALUE="option_value" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Selected |
This check box if you want this attributed selected in the form. |
SELECTED |
|
Disabled |
This check box if you want this attribute disabled in the form. |
DISABLED |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Name |
The name of the data the user submits. |
NAME="name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name". |
|
Size |
A value for the number of rows shown in the control list box. |
SIZE="value" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Disabled |
This check box if you want this attribute disabled in the form. Disabled is available for all types except Hidden. |
DISABLED |
|
Multiple |
This check box if you want users to be able to submit multiple data items. |
MULTIPLE |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Name |
The name of text control. |
NAME="name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Word Wrap |
The appropriate value: Off, Virtual, or Physical. |
WRAP="Physical" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Rows |
A value for the number of rows. |
ROWS="value" |
|
Columns |
A value for the number of columns. |
COLUMNS="value" |
|
Disabled |
This check box if you want this attribute disabled in the form. Disabled is available for all types except Hidden. |
DISABLED |
|
Read Only |
This check box if you want the text area to be read only. |
READ ONLY |
|
Option |
Used to |
|
Define the appearance of a frame. | |
|
Define frame layout on a page. |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Name/ID |
A name or an identifier used to refer to this frame. |
NAME="name" |
|
Source |
The URL of the HTML page that appears in this frame. |
SRC="URL" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Border |
This check box to include a border around the frame. |
FRAMEBORDER="Yes" |
|
Resizable |
This check box to turn off resizing. TemplateMaker selects the checkbox by default. |
NORESIZE |
|
Width |
A value for a left and right margin around the frame. |
MARGINWIDTH="value" |
|
Height |
The value for a top and bottom margin around the frame. |
MARGINHEIGHT="value" |
|
Scrollbars |
The appropriate option: As Needed, Always, or Never. |
SCROLLING="Yes" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name". |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Rows |
A value for the number of rows. |
ROWS="value" |
|
Columns |
A value for the number of columns. |
COLUMNS="value" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Option |
Used to |
|
Define the areas used in an image map. Used with <MAP>. | |
|
Define the appearance of an image inserted on the page. | |
|
Define the events for an image map. Used with <AREA>. |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
Type an identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Target Frame |
Type the name of the frame used for display. |
TARGET="frame_name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Shape |
The appropriate option: Circle, Rectangle, or Polygon. |
SHAPE="Rectangle" |
|
Coordinates |
The x and y values for the area. |
COORDS="xvalue, yvalue" |
|
Target URL |
The name of the file you want to link to. |
HREF=" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE=" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Height |
The height used for display of the object in relation to the entire page. |
HEIGHT="value" |
|
Width |
The width used for display of the object in relation to the entire page. |
WIDTH="value" |
|
Mapping |
This check box to identify the image as an image map. |
ISMAP |
|
Map Name |
The name of the image map. |
USEMAP="map_name" |
|
Horizontal |
The amount of horizontal space on the left and right of the image. |
HSPACE="value" |
|
Vertical |
The amount of vertical space above and below the image. |
VSPACE="value" |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left". |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name". |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name". |
|
Source |
The name of the graphic file displayed with this tag. |
SRC="file_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Name/ID |
A name or identifier for reference. |
NAME=name |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name". |
|
Option |
Used to |
|
Define the attributes of the link anchor. |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Name/ID |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Link Destination |
A path and file name for the anchor. |
HREF="path" |
|
Target Frame |
A name for the anchor. |
NAME="anchor_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Option |
Used to |
|
Define the attributes of a definition-list definition. | |
|
Define the attributes of a definition list. | |
|
Define the attributes of a definition-list term. | |
|
Define the attributes of a list item for an unordered or ordered list. | |
|
Define the attributes of an ordered list. | |
|
Define the attributes of an unordered list. |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name". |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name". |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Value |
The number of items in the list. |
VALUE="value" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Type |
An order type in the list box. The options are Circle, Disk, and Square for unordered lists and A, a, I (upper-case Roman numeral one), i (lower-case Roman numeral one), and 1 for ordered lists. |
TYPE="A" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
|
Start |
A numeric or alphabetic character for setting the sequence of list items. |
START="1" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name". |
|
Type |
The order type in this list box. The options are A, a, I (upper-case Roman numeral one), i (lower-case Roman numeral one), and 1. |
TYPE="a" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name". |
Complete dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name". |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name". |
|
Type |
The appropriate option: Circle, Disk, or Square. |
TYPE="Circle" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name". |
|
Option |
Used to |
|
Define the attributes of table caption. | |
|
Define the attributes of a table. | |
|
Define the attributes of table data cell. | |
|
Define the attributes of table header. | |
|
Define the attributes of table row. |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left" |
|
Cell Spacing |
A value for the amount of space between the frame of the table and the cells in the table. |
CELLSPACING="value" |
|
Background Color |
A color in this list box. |
BGCOLOR="Blue" |
|
Cell Padding |
A value for the amount of space between the sides of a cell and its contents. |
CELLPADDING="value" |
|
Column Number |
The number of columns to include in the table. |
COLS="value" |
|
Visible Border |
This check box to specify border settings. |
BORDER="1" BORDERCOLOR="Gray" |
|
Width |
A value for the width of the table border. |
BORDER="value" |
|
Color |
A border color in this list box. |
BORDERCOLOR="Lime" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Width |
The width used for display of the object in relation to the entire page. |
WIDTH="value" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Background |
A color in this list box. |
BGCOLOR="Blue" |
|
Horizontal |
The amount of horizontal space on the left and right of the cell. |
HSPACE="value" |
|
Vertical |
The amount of vertical space above and below the cell. |
VSPACE="value" |
|
Columns |
A value for the number of columns. |
COLUMNS="value" |
|
Rows |
A value for the number of rows. |
ROWS="value" |
|
Width |
The width used for display of the object in relation to the entire page. |
WIDTH="value" |
|
Height |
The height used for display of the object in relation to the entire page. |
HEIGHT="value" |
|
Word Wrap |
Click this check box to turn off text wrapping for the tag. Turning off Word Wrap prevents TemplateMaker from breaking lines in the table cell. This can result in extremely wide cells. TemplateMaker creates a table cell TemplateMaker selects this check box by default. |
NOWRAP |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Background |
A color in this list box. |
BGCOLOR="Blue" |
|
Columns |
A value to indicate how many columns this cell should span. |
COLSPAN="value" |
|
Rows |
A value to indicate how many rows this cell should span. |
ROWSPAN="value" |
|
Horizontal |
The amount of horizontal space on the left and right of the cell. |
HSPACE="value" |
|
Vertical |
A vertical alignment attribute in this list box. The options are Top, Center, Bottom, and Baseline. |
VALIGN="Top" |
|
Width |
A value for the tag in pixels. |
WIDTH="value" |
|
Height |
A value for the tag in pixels. |
HEIGHT="value" |
|
Word Wrap |
This check box to turn off text wrapping for the tag. Turning off Word Wrap prevents TemplateMaker from breaking lines in the table cell. This can result in extremely wide cells. TemplateMaker selects this check box by default. |
NOWRAP |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
Complete the dialog box options and click Submit.
|
For this option |
Type or click |
Example |
|
Horizontal |
The amount of horizontal space on the left and right of the cell. |
HSPACE="value" |
|
Vertical |
The amount of vertical space above and below the cell. |
VSPACE="value" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Background |
A color in this list box. |
BGCOLOR="Blue" |
|
Wrap Lines |
This check box to turn off text wrapping for the tag. TemplateMaker selects this check box by default. |
NOWRAP |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Option |
Used to |
|
Define the appearance of address information. Supported only in Microsoft Internet Explorer 4.0 and later. | |
|
<B> |
Insert starting and ending tags for displaying text in a boldface font. |
|
<BIG> |
Insert starting and ending tags for displaying text in a large font. |
|
Define the appearance of quoted text.Supported only in Microsoft Internet Explorer 4.0 and later. | |
|
Define attributes for a line break. Supported only in Microsoft Internet Explorer 4.0 or later. | |
|
<CITE> |
Insert starting and ending tags to indicate that text is a citation, typically displayed in an italic font. |
|
<CODE> |
Insert starting and ending to indicate that text is a code sample, typically displayed in a monospaced font. |
|
Define attributes for a <DIV> element. A <DIV> element can contain other HTML elements and display them individually. Supported only in Microsoft Internet Explorer 4.0 or later. | |
|
Define font attributes. | |
|
Define attributes of headings. | |
|
<I> |
Insert starting and ending tags for displaying text in a boldface font. |
|
Define paragraph attributes. | |
|
Define that the enclosed text is an in-line quote. Supported only in Microsoft Internet Explorer 4.0 and later. | |
|
<SMALL> |
Insert starting and ending tags for displaying text in a small font. |
|
<STRONG> |
Insert starting and ending tags for displaying text with a typeface that indicates emphasis, typically a boldface font. |
|
<SUB> |
Insert starting and ending tags for displaying text as a subscript. |
|
<SUPER> |
Insert starting and ending tags for displaying text as a superscript. |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Citation |
The name of the object used as the DHTML <CITE> element. |
CITE="citation_text" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Clear |
The appropriate attribute to indicate where to place a blank space (that contains no floating images) when you insert a line break. The options are Left, Right, or All. |
CLEAR="Right" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
|
Size |
The font size in this list box. The options are 1 to 7. |
FONT SIZE="3" |
|
Color |
The color for text in this list box. |
FONT COLOR="Blue" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Level |
An opening tag for the appropriate heading level in this list box. <H1> (default) through <H6> are available options. TemplateMaker inserts both opening and closing tags. The default is <H1>. |
<H3></H3> |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Alignment |
An alignment attribute in this list box. Left, Center, and Right are available options. |
ALIGN="Left" |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
Complete the values as appropriate and click Submit.
|
For this option |
Type or click |
Example |
|
Class |
The name of the class that you want the tag to use. |
CLASS="class_name" |
|
Style |
The name of the style that you want the heading level tag to use. |
STYLE="style_name" |
|
Citation |
The name of the object used as the DHTML <CITE> element. |
|
|
Identification |
An identifier for this tag. This can be a numeral or a name. |
ID="ID_name" |
The following commands become available when you right-click in an area of a template.
|
Insert <ERR> | |
|
Insert <REP> | |
|
Insert <REP2> | |
|
Insert <CMD> |
|
|
Insert <INC> |
|
Revision Selection Dialog Box Help
|
Option |
Description |
|
Revisions of |
Shows the template name. |
|
Rev |
Shows a sequence number for each revision (starting with "1"). |
|
Date |
Shows the date of the template revision. |
|
Author |
Shows the user name of the user who revised the template. |
|
Comment |
Shows comment text entered when the user checked in the revised template. |
|
Cancel |
Click this button to discard changes and exit the dialog box. |
|
Submit |
Click this button after selecting a revised template to display the template details. |
Revision Viewer Dialog Box Help
|
Option |
Description |
|
Name |
Shows the name of the template. |
|
Revision |
Shows the sequence number of the revision. |
|
Author |
Shows the user name responsible for the revision. |
|
Date |
Shows the date the user checked in the revision. |
The remaining areas of the dialog box show comments entered at check-in and the template content.
When specifying a color you can use either the text value shown in the list box or the corresponding numeric Red-Green-Blue (RGB) value, in parentheses, as follows. In addition, TemplateMaker accepts RGB values not shown in the list box. You can find lists of color options on various sites on the World Wide Web by searching for the keywords "RGB color charts."
|
Aqua (#00FFFF) |
Gray (#808080) |
Navy (#000080) |
Silver (#C0C0C0) |
|
Black (#000000) |
Green (#008000) |
Olive (#808000) |
Teal (#008080) |
|
Blue (#0000FF) |
Lime (#00FF00) |
Purple (#800080) |
Yellow (#FFFF00) |
|
Fuchsia (#FF00FF) |
Maroon (#800000) |
Red (#FF0000) |
White(#FFFFFF) |