[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

Mahendher M (JIRA) jira-events at lists.jboss.org
Thu Jul 12 06:51:12 EDT 2012


Mahendher M created RF-12358:
--------------------------------

             Summary: 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
    Affects Versions: 4.2.2.Final
            Reporter: Mahendher M


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 

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


root cause of the problem is when the page is revisited 


<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&amp;ln=org.richfaces" />


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