[
http://jira.jboss.com/jira/browse/RF-1480?page=comments#action_12391743 ]
Jim Vincent commented on RF-1480:
---------------------------------
Finally I think I found the reason and solution.
I think I used a4j:form and a4j:commandButton in the previous page.
So my JavaBean method returns a String containing the address of a completely new JSP
page.
In my case, ajax should not be used when switching to a different page.
Can you validate that this "bug" is real and add it to your wiki?
Thanks and regards
Vince
Browser is blocked when dowloading ajax libraries
-------------------------------------------------
Key: RF-1480
URL:
http://jira.jboss.com/jira/browse/RF-1480
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.1, 3.1.2
Environment: jdk 1.5.0_14-b03
Apache Tomcat/5.5.17
Reporter: Jim Vincent
Assigned To: Anton Belevich
Fix For: 3.2.0
I use MyFaces for the jsf impl.
If I remove the IE cache.
When I go to a complicated page for the first time.
The different buttons do not work.
Very Often, in the status bar I can read "dowloading http://......
/html/scripts/calendar.js.jsf "
Here is my code
*******************************************************
1) One main file cart.jsp
... <a4j:form id="MyCart">
<t:panelGrid columnClasses="columnMenu"
style="height:100%; width:100%;" columns="3">
<t:column width="18%">
<%@include file="/menu/menu.jsp"%>
<f:verbatim>
<br />
<br />
</f:verbatim>
<%@include file="cartAction.jsp"%>
<br />
<br />
...
*******************************************************
2) In the inluded file "cartAction.jsp", I have buttons which do not work
properly during the download of ajax script
...
<rich:panel>
<t:panelGrid columns="1" style="margin-top:0"
columnClasses="standardTable_ColumnCentered" cellpadding="0"
cellspacing="2">
<t:panelGrid columns="2" style="margin-top:0"
cellpadding="0" cellspacing="5">
<h:column>
<a4j:commandButton style="width:180px"
onmouseover="this.className='mybutton_on'"
onmouseout="this.className='mybutton_off'"
styleClass="mybutton_off"
onclick="displayProgressBar('save')"
oncomplete="hideProgressBar()"
action="#{myCart.doSave}"
value="#{rs_messages['cart.save']}" />
</h:column>
...
*******************************************************
3) The included file, the menu does not work, even the mouseover does not work
<h:panelGrid columns="1"
style="margin-left:10px;">
<h:column>
<rich:panelMenu binding="#{menuBean.menu}" id="idMenu"
hoveredItemClass="rich-pmenu-item-label-hover"
topItemClass="rich-pmenu-item-label-normal"
rendered="#{(pipContainer.logged)}">
<rich:panelMenuItem id="idMenuCatalog"
icon="/images/bullet-dabdab.gif"
label="#{menu_messages['part_list']}"
action="#{partList.doShowCatalog}" />
*******************************************************
In IE It is blocked,
In Firefox I go back to a previous page when clicking on a button.
If I wait a little bit and refresh the same page, IT WORKS
Regards
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira