Description: A message box. Can be used for different types of messages: error, warn, information, hint or success. Supports two layouts: a compact one ("small") and the regular layout.

JavaDoc: Click here

Body content: JSP content.

Attributes: N/A

Name Description Data type Required Default value Remarks
type The message box type. Valid types are: error, warn, info, hint, ok. String Yes - -
message The message String Yes - -
mode The message mode. Valid values are: normal, small. String No "normal" If "small" is passed, the tag body is ommited.


    <dif:messageBox type="warn" message="Warning message">
        This should not happen!!!

Back to tag reference