Documentation Center

XopusCanvas.getViewParam

Description

This method can be used to get values from parameters that have been declared in the XSL.

The getViewParam method is available on the active Canvas, and can be accessed most easily through:

<xsl:param name="name" select="value"/>
Editor.Canvas.getActiveCanvas().getViewParam(“name”);

Syntax

XopusCanvas .getViewParam (name : String) : Object

Arguments

name
String. The name of the parameter to get from the canvas.

Return Value

Object. An object that was set as the param.