FormBuilder
Builder useful to automatically inspect the read-resource-description and associate the attributes (by calling: include, customFormItem). Creates the required form items and help texts.
Method Summary
Public Methods | ||
public |
addOnly() Use this flag if you just want to use the form to add model nodes. |
|
public |
build() |
|
public |
exclude(attributes: *) |
|
public |
Use this flag if you just want to use the form to add model nodes. |
|
public |
include(attributes: *) |
|
public |
|
|
public |
onSave(callback: *) |
|
public |
readOnly() |
|
public |
|
|
public |
|
|
public |
unsorted() |
Public Methods
public addOnly() source
Use this flag if you just want to use the form to add model nodes. This will create a form with an AddOnlyStateMachine.
The attributes will be taken from the {@code ATTRIBUTES} child node.
public build() source
public exclude(attributes: *) source
Params:
Name | Type | Attribute | Description |
attributes | * |
public fromRequestProperties() source
Use this flag if you just want to use the form to add model nodes. This will create a form with an AddOnlyStateMachine.
The attributes will be taken from the {@code REQUEST_PROPERTIES} node of the {@code ADD} operation.
public include(attributes: *) source
Params:
Name | Type | Attribute | Description |
attributes | * |
public includeRuntime() source
public onSave(callback: *) source
Params:
Name | Type | Attribute | Description |
callback | * |