Method WMLDeck():setPrevTemplate() Professional

Create a template for the task prev.

:setPrevTemplate( [<cLabel>] ) --> self
The optional parameter <cLabel> becomes the value of the labelattribute in the WML <do> tag.

This method returns the object executing the method (self).


The method defines a template for the task "prev" which displays the previous card of the card-deck. The label <cLabel> is then displayed on all cards of the card-deck to indicate backwards navigation. The default text for <cLabel> is "Back".

WML output:

<do type="prev" label="Go Back"> 

PRG example:

oWmlDeck:setPrevTemplate( "Go Back" ) 


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.