A (Anchor Tag)


The A tag denotes an anchor - a hypertext link or the destination of a link. This section will only deal with the additional functionalities of the anchor tag created by BMC Software. For more information about the anchor tag's standard functions refer to a general HTML 4.0 reference. Contrary to the general anchor tag of the standard HTML versions, the BMC Software extended anchor tag does not use the href parameter to define links in the source file. It uses a tag called htmlfile with additional parameters and variables to pass the necessary information about to the Chilli programming language. Chilli will then translate this information into the standard href parameter.

Start Tag

required

End Tag

required

Syntax

<A htmlfile='file name' [vars='variable names']></A>

Mandatory Parameters

The htmlfile parameter defines the file to be displayed next on the screen.

Optional Additional Parameters

The anchor tag can also mention variables (vars) to be passed through to the scripts included in the HTML file.

htmlfile

The BMC Software extended anchor tag expects the htmlfile parameter to define the file to be displayed on the screen. The file path can either be relative to the current directory or absolute.

Example

You can use any Chilli supported operations, specified within parentheses, so that the htmlfile parameter is calculated. For instance, if_hchldirequals to"/myhchl", then the following anchor tag in an HCHL page:

<A htmlfile=(_hchldir + "/editquery/editquery_utils.hchl")>

will be translated by the parser into the following:

<A href="/myhchl/editquery/editquery_utils.hchl">

vars

The anchor tag can also specify a list of variables (vars) to be passed through to the next script.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*