1 Reply Latest reply on Jun 1, 2007 6:26 AM by raffaele camanzo

    nightly build 31/05 broke suggestionbox on IE7

    raffaele camanzo Newbie

      After the update to the 31/05 nightly build my rich:suggestionbox does not work anymore on IE7 (probably due to a javascript error), my previous version was the 27/05 and everything worked ok before.

      this is my broken XHTML.
      this piece of code includes the suggestionbox:

       <a4j:outputPanel rendered="#{! listaLotti.lottoPerCliente}">
       <h:form>
       <h:panelGrid columns="2" columnClasses="llLabelGrid, llInputGrid">
       <h:outputText value="#{dbb.cliente}"/>
       <a4j:region>
       <a4j:outputPanel layout="inline" id="infoClientiSuggestListaLotti">
       <ui:include src="include/infoClienti.xhtml">
       <ui:param name="reRenderParentId" value="infoClientiSuggestListaLotti"/>
       </ui:include>
       <a4j:status>
       <f:facet name="start">
       <h:graphicImage value="/img/spinner.gif"/>
       </f:facet>
       </a4j:status>
       </a4j:outputPanel>
       </a4j:region>
       </h:panelGrid>
      
      ...
      


      and this is the included suggestionbox:
      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:s="http://jboss.com/products/seam/taglib"
       xmlns:c="http://java.sun.com/jstl/core"
       xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
       xmlns:rich="http://richfaces.ajax4jsf.org/rich">
      
      
       <h:inputText value="#{infoClienti.clienteSel}" id="suggestInfoClienti"/>
       <rich:spacer width="3"/>
       <h:outputText value="(#{infoClienti.clienteSelected.anagrafica.denominazione})" rendered="#{infoClienti.clienteSelected != null}"/>
      
       <rich:suggestionbox for="suggestInfoClienti"
       suggestionAction="#{infoClienti.autocompleteClienteSel}"
       var="suggestItem"
       fetchValue="#{suggestItem.codiceClienteFinservice}"
       requestDelay="500">
      
       <a4j:support event="onselect" action="#{infoClienti.selected}" reRender="#{reRenderParentId}"/>
      
       <h:column>
       <h:outputText value="#{suggestItem.codiceClienteFinservice}"/>
       </h:column>
       <h:column>
       <h:outputText value="#{suggestItem.anagrafica.denominazione}"/>
       </h:column>
       </rich:suggestionbox>
      
      </ui:composition>
      


      Help appreciated.

      Regards,
      Raffaele Camanzo