1 Reply Latest reply on Jan 30, 2009 9:52 AM by ilya_shaikovsky

    rich:calendar formatting problem

    bucus

      hi,

      Is it possible to use date pattern like: yyyy-MM-dd'T'HH:mm:ss in richfaces calendar component ? I have problem with literal part ( meaning 'T' ). When I cannot choose date when I specify datePattern param like "yyyy-MM-dd'T'HH:mm:ss". It is disabled to edit even I specify disabled="false"

      Here is my code:

      <rich:calendar value="#{testCalendarBean.date.properties[startDate]}"
      datePattern="yyyy-MM-dd'T'HH:mm:ss" cellWidth="24px" cellHeight="22px" />

      When I remove " 'T' " string It works, but when use it or other literal ( 'at' etc.) it is impossible to edit date..

      Is it a bug or maybe richfaces doesn't support this kind of patterns?

      I use richfaces V. 3.2.2.GA

      regards