Problem with locale opencms changed JVM

View: New views
1 Messages — Rating Filter:   Alert me  

Problem with locale opencms changed JVM

by Deiverson Silveira-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

List,

I have other projects in Jboss in code use, without the opencms, worked the other project, use:
    private static NumberFormat numberFormatDecimal = NumberFormat.getNumberInstance();

But, opencms change locale for "en", because do not know, and that disturbs many functions that were already working in another project (no-opencms projects):
I test in code
other projects by setting the locale and it worked well conversions:
    private static Locale loc = new Locale("pt", "BR");
    private static NumberFormat numberFormatDecimal = NumberFormat.getNumberInstance(loc);

The big problem is that I can not change these classes by paperwork and government, I need to find the opencms, how to change it to the locale of the JVM not be changed, the opencms is leaving as the villain of the story, because when started opencms, the other systems stop working right, why change the locale jvm. :-(

I already checked-in opencm x.xml all nodes that define the locale, have moved to en but it did not work, I'm thinking it's some sort of internal, compiled, can someone help me?

Att,

Deiverson Silveira



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev