4.2.3 Timer
The timer element declares a card timer, which exposes a means of processing inactivity or idle time.
This element can be used only once in a card and its unit is 1/10s.
4.3 WML DO Construct
The <do> -element binds a task to a user action, i.e. it is used for adding an action or general
information links which concern the whole service. When you add a do-element to your design, it will
be stored in the browser's options list together with the preloaded options like home, bookmarks, use
number etc. A prev-type do-element, i.e. Back-button usage is highly recommended because it enables
backward navigation. The prev is displayed in the right soft key as well as in the Service options. Prev
can be implemented in two different ways: card wide or deck wide. In card wide prev the element is
placed inside a card; in deck wide prev there is a template determining the prev-functionality for every
card in a deck.
4.3.1 Prev element
Figure 4-11
The author of the WAP service is always responsible for the working navigation model inside its own
service. If there is a need for the back functionality it should be explicitly defined with the PREV type
and DO element. The WAP browser does not have any implicit back functionality!
Example 4-6 Back navigation <prev>
<template>
<do type="previous" label="Back" optional="false">
<prev/>
</do>
</template>
<card id="card1" ordered="true" newcontext="false">
<p align="left">
Always include a prev-element in a card to enable backward
navigation!
</p>
<do type="previous" label="Back" optional="false">
<prev/>
</do>
</card>
</wml>
21 (29)