DynaForm with inputnumber
Posted: 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
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
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>
Have you got an example?
Thank you