A task specifies what action to perform when an event, like entering a card or selecting a link, occurs.
Go Task
The
task represents the action of switching to a new card.
"http://www.wapforum.org/DTD/wml_1.1.xml">
Go To TestPrev Task
Prev Task
The task represents the action of going back to the previous card.
"http://www.wapforum.org/DTD/wml_1.1.xml">
Previous Page
Refresh Task
The task refreshes some specified card variables. If any of the variables are shown on the screen, this task also refreshes the screen.
The example below uses an tag to add a "Refresh this page" link to the card. When the user clicks on the link, he or she refreshes the page and the value of the variable x will be set to 30:
"http://www.wapforum.org/DTD/wml_1.1.xml">
Refresh this page
Noop Task
The task says that nothing should be done (noop stands for "no operation"). This tag is used to override deck-level elements.
The tag can be used to activate a task when the user clicks on a word/phrase on the screen.
The example below uses a tag to add a "Back" link to the card. When the user clicks on the "Back" link, he or she should be taken back to the previous card. But the tag prevents this operation; when the user clicks on the "Back" link nothing will happen:
"http://www.wapforum.org/DTD/wml_1.1.xml">
hiiiiiiiiii
ReplyDelete