File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF Calendar footer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF Calendar footer" Watch "JSF Calendar footer" New topic
Author

JSF Calendar footer

wim kusee
Greenhorn

Joined: Mar 19, 2010
Posts: 2
Hallo,

A question about richfaces Calendar.
We are using richfaces Calendar. The language of our application is Dutch. The (short)names of days, names of months are in Dutch language (so these are right).
But at the bottom there is a line with the selected day, the clickable option "Clean" and "Today". Both Clean and Today are in English language (so these are wrong).
How can I show the text of this controls with another tekst-string? Maybe one option by giving a specific locale, other option by giving a specif text for these controls?

I have already tried the option "locale="Locale.FR", "locale="FR", and some other options, but nothing works.

Greetings,
Wim
wim kusee
Greenhorn

Joined: Mar 19, 2010
Posts: 2
Found the solution.

In the resource bundle you give an entry
RICH_CALENDAR_TODAY_LABEL with the value "vandaag" or "now" or "this day" or whatever text you want.
RICH_CALENDAR_CLEAN_LABEL with the value "schoon" or "erase" or.....

This message was edited 1 time. Last update was at by wim kusee

 
 
subject: JSF Calendar footer
 
developer file tools