Calls native method on given component. Please see the documentation of the FormComponent.call() method for more information.
DEPRECATED. Use callNative(FormComponent c, String method, Object... args)
Clear data error messages on the component and all it's descendant components. If no component is provided then this function starts with the root component and process all components in the hierarchy.
As a result, the getDataErrorMessages
method of each form component in the hierarchy returns an empty list and getDataErrorMessagesRecursive
returns an empty map.
Parameters:
Replaces all localizable substrings in the message parameter by the corresponding localized strings from the user's language.
Warning! Use this method only when need to localize messages which are not part of a document's/todo's saved state. If doing so the reopened saved document/todo with a user using different language will see the text in the original language which is not correct.
Parameters:
Shows a simple notification to the user. Must be called from the UI listener.
Parameters:
Shows constraint violations on the component and it's descendant components. This function distributes the data error messages to the components which are bound to the record properties which are source of the constraint violations. If no component is specified then all components in the form are evaluated as targets for the error message.
Distributed constraint violations can be read from getDataErrorMessages
and getDataErrorMessagesRecursive
of form component.
Parameters:
Creates new DataSource which prepends given set of sort criteria when calling this datasource's getData().
Parameters:
Returns:
Creates new DataSource which prepends given set of filters when calling this datasource's getData() and getCount()
Parameters:
Returns: