EasyManua.ls Logo

Nokia SERIES 40 - Page 19

Nokia SERIES 40
30 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WAP Service Developer's Guide for Nokia Series 40
Version 1.0
Copyright © 2002. Nokia Corporation. All rights reserved.
19
4.5.1 Prev task
The author of the WAP service is always responsible for the working navigation
model within its own service. If there is a need for back functionality, it should be
explicitly defined with the <prev> type <do> element. The WAP browser does not
have any implicit back functionality.
4.5.2 Card-wide and deck-wide scope
The do element can be expressed in two ways: in card-wide scope or in deck-wide
scope in a template. Do elements will be stored in the browser’s options list
together with the preloaded options.
Example 4-5 Deck-wide backward navigation, prev
<template>
<do type="prev" label="Back">
<prev/>
</do>
</template>
Example 4-6 Card-wide backward navigation
<do type="prev" label="Back"
<prev/>
</do>
Example 4-7 Do element
<wml>
<template>
<do name="help-button" type="options" label="Ask Help">
<go href="http://.../help.wml" method="get"/>
</do>
<do type="options" label="Contact">
<go href="http://.../contact.wml" method="get"
sendreferer="false"/>
</do>
<do type="prev" optional="false">
<prev/>
</do>
</template>
<card id="card1" title="Homepage" ordered="true">
<p align="left">
Please, register
<br/>
Username:
<input name="username" type="text" title="Username"
emptyok="false"/>
Password:

Related product manuals