6 Replies Latest reply on Nov 28, 2007 5:02 AM by ilya_shaikovsky

    a4j:commandButton and IE6 problem

    ralf.mueller

      First time I click the button, everything is fine.
      But the second time, it happens that the new page is rendered over the old page, means that the old page is shown, and then the new page is like an overlay. What also happens is that the rich menue is not working anymore.

      <a4j:commandButton value="#{msg.global_button_search}"
      action="#{outstandings.search}" style="width:55px" styleClass="standardButton" onclick="gowait()"/>

      In IE7 or firefox everything is fine. Did anyone else experience this problem?

        • 1. Re: a4j:commandButton and IE6 problem
          ilya_shaikovsky

          please give complete snippet and information about environment.

          • 2. Re: a4j:commandButton and IE6 problem
            ralf.mueller

            <h:form id="form">
            <%@ include file="../../jspf/globalHeaderJsf.jspf"%>
            <a4j:status id="statusId" onstart="Richfaces.showModalPanel('form:ajaxLoadingModalBox',{width:450, top:200})"
            onstop="Richfaces.hideModalPanel('form:ajaxLoadingModalBox')" />

            <t:div styleClass="standardContainer">
            <rich:panel id="contractDetails" styleClass="standardContainer">
            <f:facet name="header">
            <h:outputText value="#{msg.invoice_due}" />
            </f:facet>
            <h:panelGroup>
            <h:panelGrid columns="10" style="font-weight:10">

            <h:outputText value="#{msg.invoice_dueFrom}" styleClass="standardOutputText" />
            <t:inputCalendar id="invoiceDueFromDateID"
            renderAsPopup="true"
            renderPopupButtonAsImage="true"
            value="#{invoice.searchDateFrom}" size="10" styleClass="standardInputDate"
            popupTodayString="#{msg.global_todayIs}"
            popupTodayDateFormat="#{msg.global_datePattern}">
            <f:convertDateTime pattern="#{msg.global_datePattern}" timeZone="CET" />
            </t:inputCalendar>

            <a4j:commandButton value="#{msg.global_button_search}"
            action="#{invoice.search}" style="width:55px" ajaxSingle="false"
            styleClass="standardButton" reRender="invoiceSearchTable"/>
            </h:panelGrid>

            </h:panelGroup>
            </rich:panel>
            </t:div>

            <t:div styleClass="standardContainer">

            <t:dataTable var="data" value="#{invoice.searchResult}"
            binding="#{invoice.table}"
            styleClass="#{style.dataTable_styleClass}"
            headerClass="#{style.dataTable_headerClass}"
            footerClass="#{style.dataTable_footerClass}"
            columnClasses="#{style.dataTable_columnClasses}"
            rowClasses="#{style.dataTable_rowClasses}" sortable="true"
            cellpadding="0" cellspacing="0" width="100%"
            renderedIfEmpty="false" rowIndexVar="rowIndex"
            rowOnMouseOver="this.bgColor='#d8d8d8';"
            rowOnMouseOut="this.bgColor='white';"
            id="invoiceSearchTable">

            • 3. Re: a4j:commandButton and IE6 problem
              ralf.mueller

              Environment is tomcat 5.5.23 and richfaces 3.12

              • 4. Re: a4j:commandButton and IE6 problem
                ilya_shaikovsky

                could you please also check a4j:log.. if there is any problems? And also what JSF implementation you use?

                • 5. Re: a4j:commandButton and IE6 problem
                  ralf.mueller

                  MyFaces 1.5

                  • 6. Re: a4j:commandButton and IE6 problem
                    ilya_shaikovsky

                    create a bug please and attache working (with all needed libs) example