p: spinner Does not accept double

1

People, good night.

I'm using Primefaces 5.0 and I'm having a problem with the component.

Every time I try to put a floating-point value in it (25.43, for example) it changes only to the integer part of the value (25).

Does anyone have any idea what it can be?

<p:column><h:outputLabel for="ir" value="Imposto de Renda: " class="componentePF label"/></p:column>
<p:column><p:spinner id="ir" value="#{cenarioBean.tributosParametros.ir}" class="componentePF text"/></p:column>
    
asked by anonymous 21.09.2015 / 01:04

1 answer

0

Good evening.

In the code snippet that you put in there is no spinner which is the title of your topic.

According to this documentation the component accepts double link

Are you correctly setting the value of the view?

    
21.09.2015 / 03:31