1 2 Previous Next 15 Replies Latest reply on Apr 4, 2007 11:04 AM by James Hays

    SuggestionBox inside ui:repeat not generating popup

    James Hays Novice

      I'm not completely sure this is possible or that I'm doing it correctly, so if anybody has any advice, I'm all ears. So far, my attempts are not working.

      What I have is an iterator using <ui:repeat.
      note: the suggestionbox is at the end.

      <ui:repeat var="profileGate" value="#{profileRecord.profileGates}">
       <td colspan="1">
       <div class="productCell">
       <ul>
       <ui:repeat var="productRecord" value="#{profileGate.productRecords}">
       <li>
       <div class="removeProduct"/>
       <s:link view="/productManagement.xhtml" propagation="nest">
       <h:outputText value="#{productRecord.name}"/>
       <f:param name="id" value="#{productRecord.id}"/>
       </s:link>
       </li>
       </ui:repeat>
       </ul>
       <div class="addProductContainer">
       <h:form>
       <div class="addProduct"/>
       <h:inputText id="NewProductField" value="#{search.waNumber}" size="14"/>
       <rich:suggestionbox for="1_NewProductField"
       suggestionAction="#{viewProfileRecord.autoCompleteAvailablelProducts}"
       ajaxSingle="true" var="p"
       width="500" height="200">
       <h:column>
       Just dump something out...
       </h:column>
       </rich:suggestionbox>
       </h:form>
       </div>
       </div>
       </td>
      </ui:repeat>
      


      I can see the request hitting the server and FireBug show the response coming back, but no popup is displaying. I have this working in other places, but not in an iterator.

      My initial thought was that the ID was not unique. I'm not getting that in an error though and it appears to have an id prefixed to it, so I've tossed out that notion.

      Any thoughts?

      Thanks,

      James

        1 2 Previous Next