An action is what is triggered by a user interaction.

An action will:

  • execute a command (delete, add node, ...)
  • navigate the application (place changes)
  • open dialogs (edit, ..)

Actions vs. Commands

  • actions are only used in the UI
  • commands are exposed via web services, actions are not
  • actions can trigger commands but they know more about the environment
    • they will navigate the application, show notification message
  • actions are configured in the UI model, commands in the content model

Diagram:

  • No labels