I read the doku, but I don't understand how to use emptyValue attribute.
I tried with no attribute and with different values.
Code: Select all
<p:outputLabel for="inGewEdit4" value="Beschäftigungstage" />
<pe:inputNumber value="#{meldungsuebersichtController.selectedMeldung.beschaeftigungstage}"
minValue="0" maxValue="31"
id="inGewEdit4" style="width:25px" />
<p:outputLabel for="inGewEdit5" value="Bruttolohnsumme" />
<pe:inputNumber value="#{meldungsuebersichtController.selectedMeldung.bruttolohnsumme}"
decimalSeparator="," decimalPlaces="2" thousandSeparator="." emptyValue=""
id="inGewEdit5" style="width:75px" />
<p:outputLabel for="inGewEdit6" value="Gewährte Urlaubstage" />
<pe:inputNumber value="#{meldungsuebersichtController.selectedMeldung.urlaubstage}"
minValue="0" maxValue="31" emptyValue="0"
id="inGewEdit6" style="width:25px" />
<p:outputLabel for="inGewEdit7" value="Gewährte Urlaubsvergütung" />
<pe:inputNumber value="#{meldungsuebersichtController.selectedMeldung.urlaubsverguetung}"
decimalSeparator="," decimalPlaces="2" thousandSeparator="." emptyValue="$"
id="inGewEdit7" style="width:75px" />
And this is the result.
Always zero values. What can I do to get my input fields empty?