voyent
Formatting inputText and outputText float fields  XML
Forum Index -> Components
Author Message
estuardodelcid

Joined: 13/Dec/2007 00:00:00
Messages: 19
Offline


Dear Friends:

I'm getting crazy trying to format a float number using the following code in a document page:

<ice:outputText id="dcol01"
value="#{vinv.dimensional01}">
<f:convertNumber type="number" pattern="###,##0.000"/>
</ice:outputText>

I need to use the decimal point as a "period" and use colon for separators iceFaces seems to ignore the component format requested and always shows a colon as decimal point and periods as thousands separator.

Same thing is happening with inputText fields.

Any hint?

Regards
estuardodelcid

Joined: 13/Dec/2007 00:00:00
Messages: 19
Offline


Sorry for a big mistake, the thousand separator i need is not a colon(:), is a decimal comma (,).

Regards,

estuardodelcid wrote:
Dear Friends:

I'm getting crazy trying to format a float number using the following code in a document page:

<ice:outputText id="dcol01"
value="#{vinv.dimensional01}">
<f:convertNumber type="number" pattern="###,##0.000"/>
</ice:outputText>

I need to use the decimal point as a "period" and use colon for separators iceFaces seems to ignore the component format requested and always shows a colon as decimal point and periods as thousands separator.

Same thing is happening with inputText fields.

Any hint?

Regards 
venu_dvmr

Joined: 30/Sep/2008 00:00:00
Messages: 58
Offline


http://www.jsftoolbox.com/documentation/help/12-TagReference/core/f_convertNumber.html
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team