InputNumber Problem

Community Driven Extensions Project
Post Reply
nicola.sampietri
Posts: 6
Joined: 04 Sep 2012, 12:41

12 Feb 2013, 17:34

Hi guys,
i'm trying to use InputNumber widget without fortune (PFE : 0.6.3 - PF : 3.5).
I'm using the most simple configuration :

.xhtml

<pe:inputNumber id="Input1" value="#{numericBean.input1}" >
<p:ajax event="blur" update="valueInput1" />
</pe:inputNumber>
<p:inputText id="valueInput1" disabled="true" value="#{numericBean.input1}" />

NumericBean is a View scope managed bean and input1 is a double var with get and set.
What i obtain is that Input1 is empty and valueInput1 is "0.0".

I use the resource inspect of chrome and i found a javascript problem :

Jquery.js.xhtml - "Uncaught error : autoNumeric will not function properly when the decimal character aDec :',' and thousand seperater aSep: ',' are the same character."

Any idea ?

nicola.sampietri
Posts: 6
Joined: 04 Sep 2012, 12:41

12 Feb 2013, 18:53

Solved, my error. I found in a hidden camp on a masterPage a inputNumber with decimal setted to ',' without separator setted. These cause a problem on all InputNumber in page.

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests