Hello, I have a component p: slider that goes from $ 0 - $ 5000. The problem is that I do not know how to format the values in the Brazilian currency. Can someone help me?
Hello, I have a component p: slider that goes from $ 0 - $ 5000. The problem is that I do not know how to format the values in the Brazilian currency. Can someone help me?
Based on the Primefaces showcase Primefaces Showcase
<h:outputText id="output" value="R$ #{testeView.total}" />
<h:inputHidden id="txt2" value="#{testeView.total}" />
<p:slider for="txt2" display="output" style="width: 200px" displayTemplate="R$ {value}" maxValue="5000" minValue="0" />