TemplateController Methods
The TemplateController object provides the following method.
Executes the specified method of the parent object.
Syntax
executeOnParent(
methodName,
methodParams);
Parameters
methodName
A string containing the name of the parent's method.
methodParams
An optional list of parameters to pass to the method specified by the methodName parameter.
Return Values
None.
Remarks
The parent of this object is always a FormController object. This method should only be called from sub-view controllers.
Example
this.executeOnParent(“func1”, “param1”, "param2");
Retrieves the current view for the template controller.
Syntax
getCurrentView();
Parameters
None.
Return Values
Returns the template controller's view.
Example
var currentView = tmpController.getCurrentView();