mdo:param ( parameter-name, [ default-value ] )

mdo:param returns value of parameter. if parameter is not set and default value is specified it returns default value.

<xsl:variable name="test" select="mdo:param('$test', 0)" />
Value of parameter 'test': {{$test}}<br />
<a href="{mdo:navigate('$test', $test + 1)}">Increase with url parameter</a><br />
<a href="{mdo:jsubmit('$test', $test + 1)}">Increase with page submit</a><br />
<a href="{mdo:jajax('$test', $test + 1)}">Increase with ajax</a>

See also:

Last edited Nov 15, 2009 at 5:36 PM by findy, version 3

Comments

No comments yet.