Nokia 9200 Cell Phone User Manual


 
Forum.Nokia.com
Figure 8: Do elements in an options list. The options list is focused.
Each WML deck can have a template element. The template contains do elements that are to be
displayed on each card of the deck. A card’s do elements can either override or hide the template’s do
elements. Hidden do elements will not be shown.
The order of the card’s do elements in the options list is the same as in which they are defined on the
card, unless they override the template’s do elements. The template’s do elements are last on the
options list, that is, after all the card’s do elements. If a do element on a card overrides the do element
on a template, the card’s do element replaces the template’s do element in the list.
All optional do elements are displayed. Do elements of the type “prev” are handled as an exception.
(See section 3.5.2)
<wml>
<template>
<do type="accept" name="news" label="News">
<go href="http://.../news.wml"/></do>
<do type="accept" name="contactus" label="Contact us">
<go href="http://.../contact.wml"/></do>
<do type="accept" label="Help" name="helphelp"
optional="false">
<go href="http://.../help.wml"/></do>
</template>
<card id="form" title="Registration Form">
<p>
Company Information<br/>
</p>
<p align="right">
<small>Company name:</small>
<input name="company" type="text" title="Company name"
format="*A"
emptyok="false" size="25"/><br/>
<small>Street address:</small>
<input name="address" type="text" title="Street address"
emptyok="false" size="25"/><br/>
<small>Postal Code:</small>
<input name="code" type="text" title="Postal code"
emptyok="false"
size="25"/><br/>
<small>City:</small>
<input name="city" type="text" title="City" emptyok="false"
size="25"/><br/>
<small>Country:</small>
WAP Service Developer’s Guide for Nokia 9200 Communicator Series
16