Note that there are some explanatory texts on larger screens.

plurals
  1. PO<rich:calendar> Locale.US (translate to czech)
    primarykey
    data
    text
    <p>is there any way to translate rich calendar to language which is not supported by Locale.XX ??</p> <p>Thanks for help</p> <p><strong>UPDATE:</strong> part of my calendar bean</p> <pre><code>@RequestScoped @ManagedBean(name="calendarBean") public class CalendarBean implements Serializable { /**/ private static final long serialVersionUID = -219499296173801537L; private Locale locale; private String pattern; private Date currentDate; private Date selectedDate; public Locale getLocale() { return locale; } public void setLocale(Locale locale) { this.locale = locale; } public String getPattern() { return pattern; } public void setPattern(String pattern) { this.pattern = pattern; } /* Constructor */ public CalendarBean() { locale = Locale.US; pattern = "MMM d, yyyy"; } public void selectLocale(ValueChangeEvent event) { String tLocale = (String) event.getNewValue(); if (tLocale != null) { String lang = tLocale.substring(0, 2); String country = tLocale.substring(3); locale = new Locale(lang, country, ""); } } public Date getCurrentDate() { return currentDate; } public void setCurrentDate(Date currentDate) { this.currentDate = currentDate; } public Date getSelectedDate() { return selectedDate; } public void setSelectedDate(Date selectedDate) { this.selectedDate = selectedDate; } } </code></pre> <p>UPDATE: (rich:calendar) with <a href="http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=calendar&amp;skin=blueSky" rel="nofollow">EXAMPLE ON WEB</a></p> <pre><code>&lt;rich:calendar mode="ajax" boundaryDatesMode="scroll" value="#{myBdeCheck.calendar.selectedDate}" locale="#{calendarBean.locale}" datePattern="#{calendarBean.pattern}" cellWidth="24px" cellHeight="22px" style="width:200px"/&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload