[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

Leonardo Devai (JIRA) jira-events at lists.jboss.org
Fri Dec 28 12:38:08 EST 2012


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

Leonardo Devai commented on RF-12358:
-------------------------------------

Steps to reproduce with either 4.2.2 and 4.2.3 on JBoss AS 7.1.1.Final:
- Use <rich:dataTable /> with binding to a @SessionScoped @Named CDI Bean.
- Load the page the first time, it works fine.
- Load the same page again (New GET request, no reload button), it's already bad.


                
> 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
>
> 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&amp;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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list