Tutorial
Task and Task masking
Internal tasks
Back to <prev>
Use to press the URL of the current page into the URL history stack and open the previous URL, if the URL does not exist, <prev> is invalid. Syntax similar to <go>,<prev> and </prev> can be added to one or more sentences <setvar name= "name" value= "value"/>, if not added, you must <prev/ The form of > appears.
Refresh <refresh>
Used to refresh the current page so that the variables in the page are refreshed or empty, with the same syntax as prev. <refresh> <setvar name= "name" value= "value"/> </refresh>, or <refresh/>.
No action <noop>
Means nothing, the label can not be used in <anchor>, generally used in the coverage of deck-level <do>.
Task Shield (tasks shadowing)
The WML task has two levels, deck level, and card level. Usually people are also accustomed to set in certain conditions of the task to become the third level, not discussed here, followed by a special description.
Deck level: The common task is set in template, and all of the card in this Deck automatically inherits and uses these tasks.
Card level: Only valid in the current card, and replace the task with the same attributes for the deck level.
Example:
<wml>
<template>
<do type= "Options" Name= "General" label= "Back" >
<prev/>
</do>
</template>
<!--a deck level task-->
<card id= "Card1" >
<p>hello, this is a test <br/>
<a href= "#card2" >the second</a>
<p>
</card>
<card id= "Card2" >
<!--This card override the deck level task by NoOp-->
<do name= "General" type= "Options" label= "None" >
<noop/>
</do>
<p>nothing happend here</p>
</card>
</wml>