User Tools

Site Tools


engine:processflow:start

DreamApps Form Action Process Flow

Here is, the flow of processing of commands, in chronological order, when a user submits a form from a DreamApps page.

  1. preconfig in valid object.
  2. event before in all non-command fields in form object
  3. check for mandatory fields as defined in valid, field-tables and form objects
  4. if no-error, check in valid object
  5. if no-error, before for matched commands in valid object
  6. if no-error, event before for matched command in form object
  7. if no-error, execute appropriate standard command action (Find, Clear,Show,Top,Previous, Next, Bottom, Add, Update, Delete)
  8. if no-error, event after for matched command in form object
  9. if no-error, after for matched commands in valid object
  10. event after in all non-command fields in form object
  11. If no-error, execute return specs in valid object
  12. if value of page has not changed, config in valid object
  13. if value of page has not changed prior to config, display in valid object

Notes

Striked-out processes are deprecated and supported only for backward compatibility. For new resources, do not use events in fields embedded in forms. Those were useful when valid objects were not available. Use before and after processes instead of command field events and preconfig and config instead of non-command field events. This will remove all confusions about order of execution of commands spread around different fields.

/srv/www/htdocs/wiki/data/pages/engine/processflow/start.txt · Last modified: 2015/07/01 21:57 by asok