The Texts interface acts as a parent object for all texts that can be accessed from a form.
Individual texts are accessed using their text id.
When the id is not a valid Java identifier e.g. it begins with a numeric, the element can only be
accessed using the #getText(String) method.
When running an event that forms part of a deployed component, only texts accessible from the component can be accessed.
All included texts can be iterated using the following code:
for ( var text in Iterator(texts.iterator()) )
{
log(text.text);
}
Texts
interface acts as a parent object for all texts that can be accessed from a form. Individual texts are accessed using their text id. When the id is not a valid Java identifier e.g. it begins with a numeric, the element can only be accessed using the #getText(String) method.When running an event that forms part of a deployed component, only texts accessible from the component can be accessed.
All included texts can be iterated using the following code:
Examples: