|
[tag libraries]
[tags]
Library | Description |
jelly:interaction |
A simple interaction tag library so that Jelly scripts can be interactive.
|
A simple interaction tag library so that Jelly scripts can be interactive.
Tag Name | Description |
ask | Jelly Tag that asks the user a question, and puts his answer into a variable,with the attribute "answer". This variable may be reused further as any otherJelly variable.
|
[tag libraries]
[tags]
Jelly Tag that asks the user a question, and puts his answer into a variable,with the attribute "answer". This variable may be reused further as any otherJelly variable.
Attribute Name | Type | Description |
answer | java.lang.String | Sets the name of the variable that will hold the answer. This defaults to "interact.answer".
|
completor | java.util.List | Sets the list of predefined commands.
|
default | java.lang.String | Sets the default answer to the question. If it is present, it will appearinside [].
|
escapeText | boolean | |
prompt | java.lang.String | Sets the prompt that will be displayed before the user's input.
|
question | java.lang.String | Sets the question to ask to the user. If a "default" attribute ispresent, it will appear inside [].
|
trim | boolean | |
useHistoryCompletor | boolean | Whether the completion should also happen on previouslyentered lines (default true).
|
|