[richfaces-issues] [JBoss JIRA] Commented: (RF-5265) Calendar does not switch the current month/year properlly if 'preLoadDateRangeStart' & 'preLoadDateRangeEnd' attributes defined in ajax mode

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Mar 16 16:08:23 EDT 2009


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

Nick Belaevski commented on RF-5265:
------------------------------------

		<h:form id="form">
			<rich:calendar mode="ajax" preloadDateRangeBegin="#{forum5Bean.zeroDate}" dataModel="#{forum5Bean.calendarDataModel}">
				{day} - {data[0]}
			</rich:calendar>
			<h:commandLink value="Link" />
		</h:form>

	public Date getZeroDate() {
		return new Date(System.currentTimeMillis() - (1000l * 24 * 3600 * 365 * 5));
	}



> Calendar does not switch the current month/year properlly if 'preLoadDateRangeStart'  &  'preLoadDateRangeEnd'  attributes defined in ajax mode
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-5265
>                 URL: https://jira.jboss.org/jira/browse/RF-5265
>             Project: RichFaces
>          Issue Type: Bug
>          Components: auto-tests
>    Affects Versions: 3.2.2
>            Reporter: Andrei Markavtsov
>            Assignee: Nick Belaevski
>             Fix For: 3.3.1
>
>
> Component switches to 'preLoadDateRangeStart' if user clicked next/previuos month/year link. 
> After this current date become invariant.
> Only after component has been re-rendered it displays valid date.

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