properties-local.xml
) starting with oxf.fr.detail.process
. For example:save-final
.*.*
wildcard.email
action, don't have or don't require any parameters. You just write the name of the action:my-app/my-form
to an email address [email protected]
using for instance the SMTP server smtp.example.org
you can add the following properties to properties-local.xml
:then
: used to specify that the following sequence of actions must run if the current action succeeds.recover
: used to specify that the following individual action must run if the current action fails. Once the following action has run, processing continues successfully.save-final
process, is specified this way:save
and success-message
require-uploads
and validate-all
, which run a number of steps and stop processing if uploads are pending or the data is not validthen
and recover
save-draft-success
message name instead of save-progress-success
.send
action. This means that, within a single process, you can have any number of send
actions which send data to various services. This also allows you to have separate buttons to send data to different services. These two scenarios were not possible before.recover
processes the entire content of the parentheses. Without the parentheses, only visit-all
would be processed by recover
, and the subsequent expand-all
would run whether the preceding actions are successful or not.if
to evaluate a condition during the execution of a process. The condition is expressed as an XPath expression and runs in the context of the root element of the main form instance:else
branch is optional. This means that the following two lines are equivalent:if
and else
operators have a higher precedence than the then
and recover
combinators. This means that if you need more than one action to run in either one of the branches, parentheses must be added: