[richfaces-issues] [JBoss JIRA] (RF-12358) I have calendar component in my jsf page , when i am moving to another page and revisiting iam getting javafaces.ui.calendar is null or undefined Error
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Mon Aug 13 14:02:15 EDT 2012
[ https://issues.jboss.org/browse/RF-12358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711267#comment-12711267 ]
Brian Leathem commented on RF-12358:
------------------------------------
When you say you "revisit the page" how are you doing so? by Faces navigation (with or without re-direct?), by browser back button?
> I have calendar component in my jsf page , when i am moving to another page and revisiting iam getting javafaces.ui.calendar is null or undefined Error
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12358
> URL: https://issues.jboss.org/browse/RF-12358
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.2.Final
> Reporter: Mahendher M
> Labels: waiting_on_user
>
> This is working fine at first time but if i click any button in the page and coming back to this page the calendar button is diabling and im able to see the error richfaces.ui.calender is null or undefined
> {code}
> <f:facet name="footer">
> <rich:calendar id="activ_date" popup="#{true}" mode="ajax"
> value="#{listBean.activDate}" datePattern="dd/MM/yyyy hh:mm a"
> >
> </rich:calendar>
> </f:facet>
> {code}
> root cause of the problem is when the page is revisited
> {code}
> <script type="text/javascript" src="/myproject/javax.faces.resource/richfaces-base-component.js.jsf"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/jquery.position.js.jsf"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/richfaces-event.js.jsf"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/json-dom.js.jsf?ln=org.richfaces"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/jquery.effects.core.js.jsf?ln=org.richfaces"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/jquery.effects.highlight.js.jsf?ln=org.richfaces"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/JQuerySpinBtn.js.jsf?ln=org.richfaces"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/calendar-utils.js.jsf?ln=org.richfaces"></script>
> <script type="text/javascript" src="/myproject/javax.faces.resource/calendar.js.jsf?ln=org.richfaces"></script>
> <link type="text/css" rel="stylesheet" href="/myproject/rfRes/calendar.ecss.jsf?db=eAG7mShzEgAFjAIg&ln=org.richfaces" />
> {code}
> these javascripts are not loading
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list