inputNumber form update

Community Driven Extensions Project
Post Reply
ToKo007
Posts: 6
Joined: 17 Oct 2013, 09:53

20 Oct 2014, 10:23

I have a form which contains a pe:inputnumber an A Command button to send the form

Code: Select all

<t:div styleClass="formRow">
<p:outputLabel for="limit" value="Limitbetrag:" />
<pe:inputNumber id="limit" symbol=" EUR" decimalSeparator="," widgetVar="limitWidget" thousandSeparator="." symbolPosition="s" minValue="0" maxValue="100000" value="#{betrag}" />
</t:div>

<p:commandButton id="pruefenBTN" value="Prüfen" ajax="true"style="margin-left:50px;" actionListener="#{voranfrageUI.onPruefen}" update="@form" />

whe nI click the button and there are issues in the form e.g. missing requiered values, they are shown in a message.
After that the inputnumber Field is not working anymore, it loses its value and does behave like a normal inputfield.

any ideas?

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

20 Oct 2014, 10:54

Feel free to analyze the problem and create a pull request. It's a community based project.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: Arsenichevaqn and 4 guests