ADFSolution

Sunday, November 20, 2016

ADF inputText Right Aligned Number

Hello Friends.

Today I am sharing how to right aligned number of values in input text.


In picture show two input text. First input text set property right aligned number.

Go input text property style tab open Horizontal Align select property "Right".
Now go converter set property which type number you have required.

Code is:

  <af:inputText label="Label 1" id="it1" inlineStyle="text-align:right;"
             
                converter="javax.faces.Integer"/>

Now run application.