[
https://issues.jboss.org/browse/RF-12358?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12358:
-------------------------------
Description:
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
was:
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&ln=org.richfaces"
/>
these javascripts are not loading
> 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