Show TOC

HTMLBusiness FunctionsLocate this document in the navigation structure

Use

To support the design of HTML templates when developing applications driven by the Internet Transaction Server (ITS), you can use HTMLBusiness functions.

HTMLBusiness provides a set of standard functions that generate HTML fragments and allow you to design HTML templates independent of the ITS configuration. This is desirable, since only HTML templates without hard-coded URLs or path names for graphic files work without problems when transferred to other systems.

HTMLBusiness also allows you to develop your own functions.

Here is a list of standard HTMLBusiness functions. For further information, click on the links:

Function

Brief Description

assert Function

Generates a message when an HTML field value is in error.

getPersistent Function

Determines whether data is persistent for an entire user session.

imageURL Function

Generates dynamic links to graphics files.

includeFrame Function

Converts multi-frame applications to single pages.

mimeURL Function

Generates dynamic links to graphics files.

printf Function

Returns a string using the specified formatting.

setPersistent Function

Makes data persistent for an entire user session.

strCat Function

Appends one string to another string.

strCmp Function

Compares two strings for equality (case-sensitive).

strCpy Function

Creates a copy of a given string.

striCmp Function

Compares two strings for equality (case-insensitive).

strLen Function

Returns the number of characters in a given string.

strLwr Function

Returns a lowercase copy of a given string.

strMask Function

Leaves special HTML characters uninterpreted.

strnCmp Function

Compares the first n characters of two strings for equality (case-sensitive).

strniCmp Function

Compares the first n characters of two strings for equality (case-insensitive).

strStr Function

Searches for a substring within a string.

strSub Function

Returns a substring from a given string.

strUpr Function

Returns an uppercase copy of a given string.

toLower Function

Returns a lowercase copy of a string.

toUpper Function

Returns an uppercase copy of a string.

wgateURL Function

Generates URLs that are compatible with the current Web server.

write Function

Writes output to the HTML page without inserting spaces or other separators.

writeEnc Function

Writes output to the HTML page, converting all non-alphanumeric characters to hexadecimal.