[richfaces-issues] [JBoss JIRA] (RF-12707) rich:calendar - setValue(...) method from javascript API doesn't work correctly

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Jan 10 19:08:08 EST 2013


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

Brian Leathem commented on RF-12707:
------------------------------------

The setValue method fails because the attribute _showApplyButton_ is set to true.  The javascript does not apply the new value until the apply button is clicked.  You can see this for yourself in the Metamer sample if you expand the calendar dropdown and click the apply button.  This is not a regression, but a bug nevertheless.

The fix is to ignore the _showApplyButton_ attribute when setting the value via the _setValue_ API method.


                
> rich:calendar - setValue(...) method from javascript API doesn't work correctly
> -------------------------------------------------------------------------------
>
>                 Key: RF-12707
>                 URL: https://issues.jboss.org/browse/RF-12707
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.3.0.CR1
>            Reporter: Jan Papousek
>            Assignee: Brian Leathem
>             Fix For: 4.3.0.CR1
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>


--
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