Hello,
I'm trying to localize currency in JSP

<f:setLocale value="${context.locale}"/><f:formatNumber type="currency"
value="${product.price}"/>

Problem is, context.locale, response.locale and request.locale return my
system locale, not my browser locale (even though I don't have it in browser
languages). It's weird, because localization works well for 2 languages that
it's supposed to all the time when it picks them automatically, but when I
use f:setLocale (which I didn't need before currency localization), the
currency will be localized to my system locale and everything else will
break and I get those ??? because there is no properties file for my system
locale.

Any ideas?
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to