Created
February 21, 2010 19:51
-
-
Save tmpvar/310498 to your computer and use it in GitHub Desktop.
simple performer example (Simple Creation)
This file contains hidden or 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
{ | |
"name" : "Simple Creation", | |
"id" : "simple.creation", | |
"description" : "This is a simple example for submitting a new entry, validating the submission, and storing the result", | |
"actions" : { | |
"New Entry" : { | |
"success" : "Validation" | |
}, | |
"Validation" : { | |
"failure" : { | |
"message" : "simple.creation.validation.fail", | |
"action" : "New Entry" | |
}, | |
"success" : "Store" | |
}, | |
"Store" : { | |
"target" : "simple.creation.store" | |
"failure" : { | |
"message" : "simple.creation.store.fail", | |
"action" : "New Entry" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment