localization of Visual JSF application

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

localization of Visual JSF application

by Antonin Karasek-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

[karasek.vcf]

begin:vcard
fn:Antonin Karasek
n:Karasek;Antonin
org:Cesky server.cz s.r.o.
adr;dom:;;Merhautova 12;Brno;;613 00
email;internet:karasek@...
tel;work:739 308 310
x-mozilla-html:FALSE
url:www.ceskyserver.cz
version:2.1
end:vcard




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...