0 Replies Latest reply on Mar 27, 2008 12:59 PM by Zolt Egete

    rich:calendar and locale

    Zolt Egete Newbie

      Hello there

      This is my first post on the forum, hope I can get some help here

      I am using the rich calendar control, I have set it up on a page like

      <rich:calendar value="#{some_bean.some_variablename}"
      popup="true" datePattern="d/M/yy" />

      In my faces-config.xml I have set up some locales I would like to use with my web application here is the list


      and also in my application I use a select control and a button to set the locale for the application the code is here

      <h:selectOneMenu value="#{localeSelector.language}">
       <f:selectItems value="#{localeSelector.supportedLocales}"/>
      <h:commandButton action="#{localeSelector.select}" value="#Change language" />

      Everything works fine when I change the locale to German I get names of the days and the month on the calendar in German, this works for English, Croatian and Serbian Cyrillic (sr code), but when I try to get it working with Serbian Latin (it should be sr-Latn-CS) nothing happens, the name of the month and the days stay on English

      I have used sr-Latn-CS since I have Windows XP with service pack 2 installed and this should be the preferred way. What am I doing wrong ?