I'm trying to use the p:spinner element for a currency value, represented as a float or double. In Germany the fractional digits are seperated by a comma (2,25) and not by a dot(2.25). The converter follows this convention. But the spinner converts the value to "dot-seperation" (2,10 E -> 210.00 E).
Code: Select all
<p:spinner styleClass="spinner_fiel" value="#{cc.attrs.value}" stepFactor="0.25" suffix=" E" >
<f:convertNumber type="currency"/>
</p:spinner>
To reproduce this problem you maybe have to set the local attribute in the f:converNumber to "de".