[richfaces-issues] [JBoss JIRA] (RF-13102) rich:calendar with date pattern- input gets cleared on click

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Jul 30 20:56:26 EDT 2013


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

Brian Leathem resolved RF-13102.
--------------------------------

    Resolution: Done


Defaulted to the first of the month when the date string has no day value
                
> rich:calendar with date pattern- input gets cleared on click
> ------------------------------------------------------------
>
>                 Key: RF-13102
>                 URL: https://issues.jboss.org/browse/RF-13102
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.3.Final, 4.3.2
>            Reporter: Jonáš Trantina
>            Assignee: Brian Leathem
>             Fix For: 4.3.4
>
>
> When a rich:calendar component has datePattern without a day (e.g. MM/yyyy) then selected date is cleared when opening the calendar (you can see today date instead of the previously selected date).
> However, when the form is sent, the value is correctly assigned to the binded value.
> Example:
> {noformat}
> <rich:calendar value="#{richBean.date}" datePattern="yyyy-MM"/>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list