[richfaces-issues] [JBoss JIRA] Created: (RF-1480) Browser is blocked when dowloading ajax libraries

Jim Vincent (JIRA) jira-events at lists.jboss.org
Mon Dec 3 09:56:51 EST 2007


Browser is blocked when dowloading ajax libraries
-------------------------------------------------

                 Key: RF-1480
                 URL: http://jira.jboss.com/jira/browse/RF-1480
             Project: RichFaces
          Issue Type: Bug
         Environment: jdk 1.5.0_14-b03
Apache Tomcat/5.5.17
            Reporter: Jim Vincent


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

        



More information about the richfaces-issues mailing list