Caplin Trader 5.1.0

Class: module:ct-workbench/ui/QuickForm

module:ct-workbench/ui/QuickForm(sTemplateIdopt)

new module:ct-workbench/ui/QuickForm(sTemplateIdopt)

A QuickForm provides a way to create forms using presenter by defining a list of field names, values and buttons that will be used in the form.

Parameters:
Name Type Attributes Description
sTemplateId String <optional>

The id of the template to use. If this is not specified, a default HTML template will be used.

Implements:

Methods

getElement()

Implements:
Returns:

the top level element

getPresentationModel()

Returns the presentation model used for the QuckForm.

Returns:

The presentation model for the QuickForm