f:be.InfoBox

View helper for rendering a styled content infobox markup.

Properties

message

| Condition: optional | Type: string | Default: empty string |

The message of the info box, if NULL tag content is used.

title

| Condition: optional | Type: string | Default: empty string |

The title of the info box.

state

| Condition: optional | Type: integer | Default: InfoboxViewHelper::STATE_NOTICE |

The Infobox provides different context sensitive states that can be used to provide an additional visual feedback to the to the user to underline the meaning of the information. The possible states are:

InfoboxViewHelper::STATE_NOTICE
InfoboxViewHelper::STATE_INFO
InfoboxViewHelper::STATE_OK
InfoboxViewHelper::STATE_WARNING
InfoboxViewHelper::STATE_ERROR
iconName

| Condition: optional | Type: string | Default: empty string |

The icon name from font awesome, NULL sets default icon.

disableIcon

| Condition: optional | Type: boolean | Default: false |

If set to TRUE, the icon is not rendered.

Examples

Simple

<f:be.infobox title="Message title">your box content</f:be.infobox>

All options

<f:be.infobox title="Message title"
              message="your box content"
              state="-2"
              iconName="check"
              disableIcon="true"
/>