jv:messageBox

The base text direction property is implemented as the attribute baseTextDirection of the tag jv:messageBox. For example:

<jv:messageBox id="messageBox" styleClass="message-box" baseTextDirection="LTR"/>

When other JSF components use a messageBox to display text, the messageBox defaults to the same base text direction value as the component, unless a value of its own is defined.

Supported values:

  • "LTR": Left to Right text.

  • "RTL": Right to Left text.

  • "Contextual": Indicates no predefined direction; the actual direction is determined by the content.