• Post Reply Bookmark Topic Watch Topic
  • New Topic

can't change currency format to french automatically  RSS feed

 
lijun wang
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have JSF code :
<hutputText styleClass="outputText" id="text1" value="#{testBean.f}">
<f:convertNumber locale="fr" type="currency" currencySymbol="$"/>
</hutputText>

which testBean.f = 9.99

I think it should display 9,99$(french format), but it is not, anybody know the reason?
Thanks,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!