@wuiInputPassword(NAME, [VALUE], [MAXLENGTH], [SIZE], [TITLE])

Inserts single line password input field into <form> area in NST WUI style.

The following parameters are recognized:

NAME

The name to assign to the password field (what the CGI script will use when looking up the value).

[VALUE]

Default value to put in the password field.

[MAXLENGTH]

Optionial integer value to specify the maximum number of characters the field should accept.

[SIZE]

Optional integer value indicating the number of characters which are displayed to the user (should be less than or equal to the MAXLENGTH value).

[TITLE]

Optional title attribute to appear as a tooltip to the user when their mouse hovers over the input field.

Example of using the macro:

@wuiInputPassword("secret")

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/html.at macros file has been generated (Hint: run make atmacros in the wui directory), a developer should be able to run the above example by copy/pasting from below:

[root@probe root]# java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")
@wuiInputPassword("secret")
EOF

This macro is defined as:

<div@htmlAttr("class","wuiInputTextXhtml")><input @wuiInputPasswordAttr("@param(0)","@param(1)","@param(2)","@param(3)","@param(4)") /></div>