Home Manual Reference Source
public class | source

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

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
public
public
public

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:

NameTypeAttributeDescription
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:

NameTypeAttributeDescription
attributes *

public includeRuntime() source

public onSave(callback: *) source

Params:

NameTypeAttributeDescription
callback *

public readOnly() source

public requiredOnly() source

public showDeprecated() source

public unsorted() source