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
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.
findNode(
   type STRING,
   name STRING )
  RETURNING result om.DomNode
Search for a child node in the form.
setElementText(
   name STRING,
   text STRING )
Change the text of form elements.
setElementImage(
   name STRING,
   text STRING )
Change the image of form elements.
setElementStyle(
   name STRING,
   style STRING )
Change the style of form elements.
setElementHidden(
   name STRING,
   hide INTEGER )
Show or hide form elements.
setFieldHidden(
   name STRING,
   hide INTEGER )
Show or hide a form field.
setFieldStyle(
   name STRING,
   style INTEGER )
Change the style of a form field.
ensureFieldVisible(
   name STRING )
Ensure visibility of a form field.
ensureElementVisible(
   name STRING )
Ensure the visibility of a form element.