command

Top  Previous  Next

  <command name="" clearPageVars="" clearSessionVars="">
    <param name="" scope="" mandatory="" nonBlank="" 
           encrypted="" notAllowed="" initialValue="" />
  </command>

 
Attributes of "command" element

Attribute

MScript

Description

name

-

Defines the name of the command that can be used when accessing to the page.

clearPageVars

ü

The names of the page variables separated with commas to be cleared when this command is used. If a variable name contains an "*" at the end then it means generic delete and all the page variables starting with it are deleted when this command is used. The value "true" means delete all the page variables.

clearSessionVars

ü

The names of the session variables separated with commas to be cleared when this command is used. If a variable name contains an "*" at the end then it means generic delete and all the session variables starting with it are deleted when this command is used. The value "true" means delete all the session variables.

 

Attributes of "param" sub-element

Attribute

MScript

Description

name

-

The name of the request parameter.

scope

ü

This attribute is specified if the value of the parameter should be saved either as page variable or a session variable. The valid values for the attribute are "p" for page variable, and "s" session variable.

mandatory

ü

Should contain true is this parameter must be supplied along with the command.

nonBlank

ü

Should contain true if the parameter must have a value when used for the command.

encrypted

ü

Should contain true if the parameter contains an encrypted value.

notAllowed

ü

Should contain true if this parameter cannot be given with the command.

initialValue

ü

Defines the default value if this parameter is not specified of has no value.