Call this method to set the value of the dir attribute.
HTMLBdo Class | com.plumtree.xpshared.htmlelements Namespace