I have this primefaces inputText component that links to a double value in my backing bean:
<p:inputText id="valueI"
value="#{productMB.total}">
<f:convertNumber type="number" maxFractionDigits="0" />
</p:inputText>
When the total is 0 the inputText shows a zero. I need to show an empty value because a zero is visually ugly
How can I do that?