Versão em português
Hello,
Today I had problems with numeric fields and dates. I typed 20,00 and was displayed 2000. I also had problems with the display of dates.
The problem didn't happen in de development machines, just in homologation machines, because the default locale was different in this environments.
In your eclipse:
- Go to in "Server
- Double-click at JBoss
- Click in "Open Launch Configuration"
- Type at the end of "VM Arguments" field: -Duser.language=pt -Duser.country=BR
But to start JBoss with command line, it doesn't work:
standalone.bat -Duser.language=pt -Duser.country=BR
You need to change the configuration files.
In Windows environments, you must add the following line in the file standalone.conf.bat
set "JAVA_OPTS=%JAVA_OPTS% -Duser.language=pt -Duser.country=BR"
In Linux environments, you must add the following line in the file standalone.conf
JAVA_OPTS="$JAVA_OPTS -Duser.language=pt -Duser.country=BR"
Best Regards!
Adriano Schmidt
PS: My English isn't very good, if you see something wrong please let me know.
quinta-feira, 7 de agosto de 2014
Assinar:
Postar comentários (Atom)
Nenhum comentário:
Postar um comentário