Classes

Method WMLDeck():setPrevTemplate() Professional

Create a template for the task prev.

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

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

Description

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:

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

PRG example:

oWmlDeck:setPrevTemplate( "Go Back" ) 

Feedback

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.