[richfaces-issues] [JBoss JIRA] Created: (RF-5221) Calendar: in some cases the component does not reckon with time zone and locale information

Dmitry Svyatobatsko (JIRA) jira-events at lists.jboss.org
Thu Dec 4 09:31:39 EST 2008


Calendar: in some cases the component  does not reckon with time zone and locale information
--------------------------------------------------------------------------------------------

                 Key: RF-5221
                 URL: https://jira.jboss.org/jira/browse/RF-5221
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
            Reporter: Dmitry Svyatobatsko
            Assignee: Nick Belaevski
            Priority: Minor


It is beginning become apparent only in "popup = false" mode
In mode with popup opening popup fixes this problem

1) timeZone calendar attribute set to some time zone distinct yours (e.g. GMT+10)
2) popup attribute set to false
3) selectedDate set to any date in foregoing time zone
After the component is rendered, footer will contain wrong selected date time (thanks to time zone differences)

CalendarRendererBase uses getSelectedDate method that does not take into consideration time zone and locale
then returned date is used per se on the client

Submits work fine (correct value is sent)
problems only are on view
I hope it might be useful

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list