ui.Form methods

Methods of the ui.Form class.

Table 1. Class methods
Name Description
ui.Form.setDefaultInitializer(
   funcname STRING )
Define the default initializer for all forms.
Table 2. Object methods
Name Description
findNode(
   type STRING,
   name STRING )
  RETURNING result om.DomNode
Search for a child node in the form.
getNode()
  RETURNING result om.DomNode
Get the DOM node of the form.
loadActionDefaults(
   filename STRING )
Load form action defaults.
loadToolBar(
   filename STRING )
Load the form toolbar.
loadTopMenu(
   filename STRING )
Load the form topmenu.
setElementHidden(
   name STRING,
   hide INTEGER )
Show or hide form elements.
setElementImage(
   name STRING,
   text STRING )
Change the image of form elements.
setElementStyle(
   name STRING,
   style STRING )
Change the style of form elements.
setElementText(
   name STRING,
   text STRING )
Change the text of form elements.
setFieldHidden(
   name STRING,
   hide INTEGER )
Show or hide a form field.
setFieldStyle(
   name STRING,
   style STRING )
Change the style of a form field.
ensureElementVisible(
   name STRING )
Ensure the visibility of a form element.
ensureFieldVisible(
   name STRING )
Ensure visibility of a form field.