Tomcat JSF 1 Error with f: convertNumber

1

Hello, I use my application in tomcat 6, I need to change to tomcat 7 but everywhere I use f: convertNumber I get the following error:

  

/pages/pvt/ipd/cliente/consultar.xhtml @ 37,105 value="# {clientPocketController.client.client}": Can not set property 'coder' on class 'br. com.mili.entities.energy.client.Customer 'to value' 1.793 '

Edited

<h:inputText id="txtCodCliente" value="#{clientePocketController.cliente.codcliente}" 
         converterMessage="Permitido apenas números.">
     <f:convertNumber integerOnly="true" minIntegerDigits="0"  pattern="######" locale="pt_BR"/>
     <f:validateLength maximum="6" />
</h:inputText>

I'm using JSF 1.2. Can someone help me? Thank you.

    
asked by anonymous 10.02.2016 / 18:15

1 answer

-1

Maybe the problem is that you are setting the value = '1.793' in an integer field, but jsf already has a default Integer type converter that you would not need to specify here.

    
10.02.2016 / 21:33