Message notification styles
In this example we'll use a simple workflow to test the options for the style
parameter of the {set-message}
macro.
With the workflow applied to a page, you can jump between the states via the Workflow Popup to see the resulting message styles.
Workflow template
{workflow:name=set-message styles} {state:No message} {state} {state:error} {state} {state:warning} {state} {state:success} {state} {state:info} {state} {state:hint} {state} {state:tip} {state} {state:Default style} {state} {trigger:statechanged|state=error} {set-message:style=error}error{set-message} {trigger} {trigger:statechanged|state=warning} {set-message:style=warning}warning{set-message} {trigger} {trigger:statechanged|state=success} {set-message:style=success}success{set-message} {trigger} {trigger:statechanged|state=info} {set-message:style=info}info{set-message} {trigger} {trigger:statechanged|state=Default style} {set-message}default style{set-message} {trigger} {trigger:statechanged|state=No message} {set-message}{set-message} {trigger} {workflow}
Displayed message
error
warning
success
info
Default style
No message
No message shown, any previous message is removed