[richfaces-issues] [JBoss JIRA] Resolved: (RF-9856) rich:calendar failes with datePattern

Andrey Markhel (JIRA) jira-events at lists.jboss.org
Tue Nov 30 05:47:09 EST 2010


     [ https://jira.jboss.org/browse/RF-9856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Markhel resolved RF-9856.
--------------------------------

    Resolution: Done


Check for undefined value of year, month and day was added.
Date pattern (yyyy/mm/dd hh:mm a) doest't contain any pattern definition for a month (MM, MMM). The definition (mm) is minutes. Not having any month pattern definition, Calendar is unable to obtain the value for a month.


> rich:calendar failes with datePattern
> -------------------------------------
>
>                 Key: RF-9856
>                 URL: https://jira.jboss.org/browse/RF-9856
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: Future_4.X
>         Environment: Mac, GlassFish 3.1, Chrome 7, Safari 5, FF 3.x and 4b7
>            Reporter: Jason Lee
>            Assignee: Andrey Markhel
>             Fix For: 4.0.0.Milestone5
>
>
> If I add a datePattern to rich:control, I get the following error in my JS console:
> Cannot call method 'toLowerCase' of undefined
> Here is my markup:
> <rich:calendar value="#{bean.foo}" popup="true" datePattern="yyyy/mm/dd hh:mm a"/>
> For the record, if I leave datePattern off, the component functions as expected.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list