dir - Direction

Specifies text direction for a control that does not inherit its direction.

Category

basics

Syntax

dir="ltr|rtl"
Where ltr means left to right and rtl means right to left.

Usage

In Design mode, click All Properties and look for dir under basics.

Examples

This Input Box specifies the text direction as right to left.
<xp:inputText id="inputText1" value="#{document1.subject}"
		title="Subject edit box" autocomplete="off" dir="rtl">
</xp:inputText>