[
https://issues.jboss.org/browse/RF-13102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792945#comment-12792945
]
RH Bugzilla Integration commented on RF-13102:
----------------------------------------------
Jonáš Trantina <[email protected]> made a comment on [bug
988405|https://bugzilla.redhat.com/show_bug.cgi?id=988405]
Description of problem:
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:
<rich:calendar value="#{richBean.date}" datePattern="yyyy-MM"/>
Version-Release number of selected component (if applicable):
How reproducible:
Create a project with the tag from above.
Steps to Reproduce:
1. Open the page with the calendar tag
2. Select some date
3. Click on the input to open up the calendar, the input gets clear, today date
is selected
Actual results:
Previously chosen date should be selected in the calendar, the date should stay
in the input.
Expected results:
Today date is selected and input is
> 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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues