Hi,
I have a functionality in which there is a tree table. It has 14 columns and
each column has an tr:inputText component. Now I have Implemented the following
code inside an event listener.
NumberConverter con =
(NumberConverter)FacesContext.getCurrentInstance().getApplication().createConverter(Number.class);
con.setPattern(".00");
con.setMaxFractionDigits(6);
inputText1.setConverter(conveter);
If I implement this code for an inputText component provided separately in the
form then it works properly(if I enter 21 and submit i get 21.00 or if i enter
21.12456789 i get 21.124568).
But for the inputTexts inside the tr:column of the tree table I am getting the
value with single precision(The EJB method is providing me double values. So no
precision is changing).
Can I change the precision of those inputs in some other way?
Thanks,
Dushyant
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/