Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can't change currency format to french automatically

 
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic