DynaForm with inputnumber

Community Driven Extensions Project
Post Reply
danieled
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" />  
	</p:inputNumber>  
</pe:dynaFormControl>
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

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

12 Oct 2017, 17:41

Whats wrong with your example? Just try it.
Always Bet On Prime (+ Extensions)!

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests