f:be.InfoBox

View helper for rendering a styled content infobox markup.

Properties

message

Variable type
String
Description
The message of the info box, if NULL tag content is used.
Default value
Empty string
Required
No

title

Variable type
String
Description
The title of the info box.
Default value
Empty string
Required
No

state

Variable type
Integer
Description
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
Default value
InfoboxViewHelper::STATE_NOTICE
Required
No

iconName

Variable type
String
Description
The icon name from font awesome, NULL sets default icon.
Default value
Empty string
Required
No

disableIcon

Variable type
Boolean
Description
If set to TRUE, the icon is not rendered.
Default value
FALSE
Required
No

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" />