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

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Jul 25 10:45:26 EDT 2013


    [ https://issues.jboss.org/browse/RF-13102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792948#comment-12792948 ] 

RH Bugzilla Integration commented on RF-13102:
----------------------------------------------

Jonáš Trantina <jtrantin at redhat.com> made a comment on [bug 988405|https://bugzilla.redhat.com/show_bug.cgi?id=988405]

Mixed up Actual and Expected results, correct version:
Actual results:
Today date is selected and input is cleared.

Expected results:
Previously chosen date should be selected in the calendar, the date should stay in the input.
                
> 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
>
> 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