Namespace: |
|
Type: |
embedded complexType |
Content: |
complex, 11 attributes, 2 elements |
Defined: |
globally in bot.xsd |
Used: |
at 1 location |
XML Representation Summary |
|||||
<bot:parameter |
|||||
cancelCommand | = |
NMTOKEN |
|||
dateFormat | = |
string |
|||
dateStyle | = |
("short" | "medium" | "long" | "full") |
|||
hidden | = |
boolean |
|||
locale | = |
string |
|||
name | = |
NMTOKEN |
|||
numberFormat | = |
string |
|||
pattern | = |
string |
|||
timeStyle | = |
("short" | "medium" | "long" | "full") |
|||
type | = |
("string" | "boolean" | "int" | "long" | "double" | "number" | "currency" | "percent" | "date" | "time" | "date-time") |
|||
value | = |
string |
|||
> |
|||||
|
|||||
</bot:parameter> |
The user is prompted with the parameter's description. They may then enter a
value for the parameter. The value's expected format depends on the
parameter's type
, as well as any validation patterns that may be
set.
A user's parameter values may be recalled from within a Java
BotActionTask
(for more information, see the javadocs included
with the framework). They may also be referenced by their parameter names
using content variables. For example, the following target asks for user
input, then echos back the values:
Parameters may also be hidden. In this case, a value is explicitly set, and users are not prompted to enter a value.
A user can enter this command to cancel the parameter, instead of entering a value. This also cancels further execution of the target or event handler that called this parameter.
The default cancel command is "cancel
".
Type: |
NMTOKEN |
Use: |
optional |
Defined: |
locally, within this element |
Accepts patterns as defined in
java.text.SimpleDateFormat
.
Valid only for date
, time
, and
date-time
parameters.
Type: |
string |
Use: |
optional |
Defined: |
locally, within this element |
Valid only for date
and date-time
parameters.
Type: |
|
Use: |
optional |
Defined: |
locally, within this element |
If true
, users will not be prompted to enter a value for this
parameter.
The default value is false
.
Type: |
boolean |
Use: |
optional |
Defined: |
locally, within this element |
Affects the accepted values/syntax for number
,
date
, and time
-related parameters.
Type: |
|
Use: |
optional |
Defined: |
locally, within this element |
Type: |
NMTOKEN |
Use: |
required |
Defined: |
locally, within this element |
Accepts patterns as defined in
java.text.DecimalFormat
.
Valid only for number
, currency
, and
percent
parameters.
Type: |
string |
Use: |
optional |
Defined: |
locally, within this element |
If any patterns are set, a user value must match at least one of them to be considered valid. If a user value is not valid, the user is sent an error message and prompted again to enter a value.
Type: |
string |
Use: |
optional |
Defined: |
locally, within this element |
Valid only for time
and date-time
parameters.
Type: |
|
Use: |
optional |
Defined: |
locally, within this element |
Type: |
|
Use: |
optional |
Defined: |
locally, within this element |
If this parameter is hidden, this value is used, and users will not be prompted to enter a value for this parameter. Otherwise, users will be prompted, and this value will be ignored.
This value can contain content variables.
Type: |
string |
Use: |
optional |
Defined: |
locally, within this element |
This is the message the user is prompted with. If a description is not specified, a reasonable default is used.
Type: |
bot:richContent, mixed content |
Defined: |
locally, within this element |
If any patterns are set, a user value must match at least one of them to be considered valid. If a user value is not valid, the user is sent an error message and prompted again to enter a value.
Type: |
bot:pattern, mixed content |
Defined: |
locally, within this element |
XML Schema documentation generated with DocFlex/XML (Kit) v1.6.0 DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else! Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task! Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com |