DEFAULTS
Overview
The code defines constants and behaviors for handling different states in Servoy's solution model scripting. These constants help manage form properties, component behaviors, and navigator settings, enabling efficient customization of UI and scripting functionality. The provided structures also ensure compatibility with JavaScript and Servoy's development environment.
Constants Summarized
Constant used to remove a component from the tab sequence or set form navigator to IGNORE value.
Constants Detailed
COMMAND_DEFAULT
Constants used for setting commands to "default".
Type JSMethod
Sample
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 1200, 800);
form.onFindCmd = SM_DEFAULTS.COMMAND_DEFAULT; // This makes the find work like it does by default.COMMAND_NONE
Constant used for setting commands to "none".
Type JSMethod
Sample
DEFAULT
Constant used in various places to set properties to their default value.
Type String
Sample
IGNORE
Constant used to remove a component from the tab sequence or set form navigator to IGNORE value.
Type String
Sample
NONE
Constant used in various places to set properties to "none".
Type String
Sample
Last updated
Was this helpful?