Form Loading Order
In SimpleOne, forms are loaded in the order described below:
- The initialization of the record object.
- The async fetch of the UI action data from the server.
- The async fetch of the record from the server.
- The update of the inner state of the object.
- The rendering of the form and its sections.
- The async execution of the form onLoad script when the form is created and when the form view is changed.
- The rendering of the form fields.
- The initialization of the widget objects.
- The rendering of the widgets.
- The initialization of the SimpleTag objects (<activityfeed>, <rem>, and others).
- The execution of the widget client scripts.
- The async execution of the widget server scripts, if there is a call to the server in client scripts.
- The re-rendering of the form.