-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release/6.4.0' into NAE-1884
# Conflicts: # src/main/java/com/netgrif/application/engine/petrinet/domain/Transition.java
- Loading branch information
Showing
2,544 changed files
with
92,592 additions
and
17,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Frontend Actions | ||
Frontend actions are type of actions that are executed on frontend. The action implementation is done as part of | ||
frontend code and they can be called from inside data or transition events. | ||
|
||
## Calling an action from process code | ||
|
||
A frontend action is being called from inside events. The syntax is as follows: | ||
``` | ||
Frontend.<action_name>(Object args...) | ||
``` | ||
|
||
Example: | ||
``` | ||
<event type="set"> | ||
<id>data_set_event</id> | ||
<actions phase="post"> | ||
<action id="action_0"> | ||
Frontend.redirect("login") | ||
</action> | ||
</actions> | ||
</event> | ||
``` | ||
|
||
This code is sent to frontend as an attribute of `outcome` object, then frontend parses it | ||
and calls the required action. |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.