users@woodstock.java.net

localization of Visual JSF application

From: Antonin Karasek <tonda_at_ceskyserver.cz>
Date: Tue, 11 Nov 2008 14:04:48 +0100

Hi,
I'm developing my first real Visual JSF application using NetBeans 6.1

I'm using a table component. It works fine, but when I turn on
pagination (I really need it), the pagination controls displays English
texts ("Page: x of y"). The same problem is with filter (text
"Filter:"). I need to localize these texts. I have tried to add some
code to faces-config.xml:

<application>

<message-bundle>cz.ceskyserver.nemobk.intranet.web.Errors</message-bundle>
          <locale-config>
             <default-locale>cs</default-locale>
         </locale-config>
</application>

But it doesn't work. I'm using <message-bundle> for customizing error
messages and this works fine (javax.faces.component.UIInput.REQUIRED).
Can I specify messages "Page:" and "Filter" in <message-bundle> as well?
If so, which "key" I need to use?

Any ideas?

Many thx

Regards
Tony