XML Object Reference
18. May 2006
15
optiPoint application module - XML Applications, Developer’s Guide
c01.fm
Command
4.5
Command
This object generates a softkey on the lower edge of the display, comparable to the
do
element
in WML. A maximum of two softkeys can be displayed simultaneously on a screen. If there are
more than two Command elements, the second softkey is labeled as "Menu" and not given a
yellow background; when it is selected, it opens a new screen on which the user can select from
the remaining Command objects.
The following attributes are available to the
IppCommand
element:
Attribute
Value
Function
Type
(mandatory)
SELECT
This transmits the key/value pairs from the current form
to the URL indicated.
BACK
Switches to the screen displayed previously. When this
is selected, the cached version is used.
If there is only a single screen in the XML document, no
softkey is generated.
UPDATE
Switches to the screen displayed previously. The docu-
ment is then reloaded from the server.
SCREEN
Switches to the specified screen.
If the data in the
ScreenID
child element are missing
or invalid, the current screen will continue to be dis-
played.
Priority
(optional)
Priority (inte-
ger)
This determines the order of the Command objects,
whereby 0 represents the one with the highest priority.
Auto
(optional)
Total duration
in seconds
The Command object is automatically executed after
the specified time, that is, without the user doing any-
thing. If multiple Command objects containing the Auto
attribute exist, the one that is set for the shortest total
duration is executed. This means that only one com-
mand
per screen is executed automatically.
Key
(optional)
Key
The key for the key/value pair that is sent to the server.
Value
(optional)
Value
The value for the key/value pair that is sent to the server.