This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

  • No labels