ADF 11g - how to make number field align right on InputText
479623Dec 8 2011 — edited Dec 8 2011Hi there,
I am working with ADF 11g with Trinidad. I have a page (jspx) with updateable table (Trinidad Table) with text and number columns.
Currently all the values are align left, but I want the number fields to align right.
For example, Employee name inputText should align left and Salary should align right.
The application has a skin with CSS.
.css
/* This will make all inputText align right */
af|inputText::content {-tr-rule-ref: selector(".AFFieldNumber")}
/* This will make all inputText align left*/
af|inputText::content {-tr-rule-ref: selector(".AFFieldText")}
.jspx
<tr:inputText value="#{row.Salary}"
styleClass="AFFieldNumberMarker"
inlineStyle="text-align:right">
How do I make the Number field align right? (Yet keep the Text column align left)
Thanks,
Jim
Edited by: user476620 on Dec 8, 2011 2:47 PM