DynaForm with inputnumber

Community Driven Extensions Project
Post Reply
Posts: 8
Joined: 13 May 2013, 00:01

12 Oct 2017, 17:31

Good evening.
I would like to know if is it possible to use an "inputNumber" input control type into a dynaForm (and therefore a dynaFormControl): then build a xhtml similar to this

Code: Select all

<pe:dynaForm id="dynaForm" value="#{dynaFormController.model}".....
<pe:dynaFormControl type="inputNumber" for............
	<p:inputNumber id="input3" value="#{inputNumberView.input3}" minValue="-1000.999" maxValue="1000">  
		<p:ajax update="output3" />  
in order to dynamically generate a set of input controls where I can specify the format (minvalue, maxvalue, symbol, decimalseparator...)

Have you got an example?

Thank you

PrimeFaces Core Developer
Posts: 3756
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE

12 Oct 2017, 17:41

Whats wrong with your example? Just try it.
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: No registered users and 1 guest