Hi everybody! Is there a possibility that '0,6' and '0.6' as value of '<h:inputtext>' or '<p:inputtext> are passed as a comma serperated value into the logic layer? <h:inputtext for="number" value="#{data.val}"><f:convertnumber pattern="#0,0"/></h:inputtext> The '0,6' value is passed as '6'. <p:inputtext for="number" value="#{data.val}"></p:inputtext> The '0,6' value is passed as '6'. If I enforce the Comma with <p:inputmask mask="9,9" ...=""> '0,6' is still '6'. tia daniel asked 21.11.2013 at 15:45 danielf Flavio Sadeghi ♦♦ |
Hi if you just manipulate your data after passing it to the logic you could use a regex in a.e. a script step to make the separation of the values.
answered 21.11.2013 at 15:58 Daniel Oechslin Thanks a lot it works know. I thought I had to handle it inside the jsf. Grüzi in die Schweiz!
(21.11.2013 at 16:33)
danielf
Glad I could help! Au äs Grüäzi zrugg!
(21.11.2013 at 16:36)
Daniel Oechslin
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 21.11.2013 at 15:45
Seen: 7,516 times
Last updated: 21.11.2013 at 16:49