0 Replies Latest reply on Aug 26, 2009 11:18 AM by giomiano

    rich:suggestionbox - does not work

    giomiano

      Hello guys,
      I am actually strangling to understand why the following piece of code does not work.
      It suppose to show the suggestion list below the inputText (simple div) however it does not!!
      (there is no scope issue and of course it is calling the suggestionAction)


      Any idea ?
      (Seam 2.1.2 GA, RF 3.3.1.GA)


      <h:form id="client">
      <h:inputText id="from-contact-box" value="#{editTicket_ticket.customername}"/>
      <rich:suggestionbox id="sugg" for="from-contact-box" width="200" height="100" minChars="3" suggestionAction="#{editTicket.autocompleteContact}" fetchValue="#{suggest[0]}" var="suggest" ajaxSingle="true">
      <h:column>
      <h:outputText value="#{suggest[0]} #{suggest[1]}"/> 
      </h:column>
      <h:column>
      <h:outputText value="#{suggest[2]}"/> 
      </h:column>
      </rich:suggestionbox>
      </h:form>



      Btw, if I include the above code in a a4j outputpanel .. it does show the list of suggestion but breaks the component (https://jira.jboss.org/jira/browse/RF-1235)