3 Replies Latest reply on Mar 27, 2008 8:27 AM by Winston Churchill

    Use rich:suggestionbox inside a tabular form (i.e a rich:dat

    Martin Ahrer Newbie

      I'm building a form that is built from a rich:dataTable. Each row contains a inputText with a rich:suggestionbox!

      The suggestion box works well when typing in the first row of the table, the suggestion action is executed and the list pops up.

      However when doing the same in the 2nd row, 3rd row, etc. the suggestion action is executed but no popup is displayed???

      Anybody who can give a hint? Is it it general possible to use suggestionbox with an iterating tag like datatable?

      <rich:dataTable value="#{menuAdminController.selectedObject.attributes}" var="object" id="attributesTable">
       <f:facet name="header">
       <h:outputText value="#{menuResources['attribute.user.header']}" />
       <h:inputText id="login" value="#{object.login}" required="false" valueChangeListener="#{object.userValueChanged}"
       <f:validateLength maximum="40" />
       <rich:message for="login" />
       <rich:suggestionbox id="loginSuggest" for="login" width="200" height="200" suggestionAction="#{object.userSuggestion}" var="user" minChars="2" fetchValue="#{user.login}" >
       <h:outputText value="#{user.login}"/>