WML Tutorial 6: Action and Link
The action and link setting Action (DO) DO is one of the most valuable elements in the WML language, which provides users with a general method of "action" on the current CARD. This action is typically positioned on a particular component of the user terminal interface, such as a function key of the WAP phone, a specific icon, a speech recognition function, and the like. Do can be set on the DECK Template or a Card, and the DO on the Card will override the same name element on the Template when they are renowned.
Properties list:
TYPE: The intention of the v. WML declares that 9 types of action, the most commonly used action types are "accept" and "option". 1.1 Accept, accept, confirmation 1.2 prev, return URL 1.3 Help in the previous historical stack, request help 1.4 reset, clear, or reset state 1.5 options, set options according to the functionality of the current page. 1.6 delete, delete selection entry 1.7 unknow, equivalent to blank string 1.8 There are still two properties that have not been finalized.
The Label: Setting the button title, displayed in the browser defined screen position, different browser displays the location. If the title is not set, the button will be displayed according to the default format of the browser, and the default format of different browsers is different.
Name: Button name, you can use a CARD level to override the same name action on the Template, re-given new tasks.
Optional: Whether a button is displayed, it will be ignored by the browser when set to true.
Example:
{Content}
do>
Link (Anchor) Archor is the basic mode of the WML definition link, combined with other tags can meet many applications, and Anchor must be combined with GO.
Related properties:
Text display of the Title link.
Example:
Simplified link form (a) a is an ANChor's simplified form and does not require a GO statement to cooperate. In order to improve efficiency, it is recommended Related properties: 1. HREF hyperlink target URL Example: