0 Replies Latest reply on Jul 1, 2008 11:50 AM by sadhasivam jayabalaganesan

    rich-suggestion box Map is not working

    sadhasivam jayabalaganesan Newbie

      Hi

      i am using rich-suggestion box with Map as my data store. i had tried with token property="=," and selfRendered="true" but it seems to be coming in single row rather than in a multiple rows.

      for example in my HashMap i have
      "AAA=123", "AAB=122", "ABB=122" values.

      my rich:suggestionBox construct

      <rich:suggestionbox id="mae_pair" for="pair" tokens=", ="
      rules="none"
      suggestionAction="#{simpleController.autoComplete}" var="result"
      selfRendered="true"
      first="0"
      minChars="1"
      shadowOpacity="4"
      border="1"
      width="200"
      height="150"
      cellpadding="2"
      nothingLabel="No pair found">
      <h:column>
      <h:outputText value="#{result}"/>
      </h:column>
      </rich:suggestionbox>

      i can able to see all my map values in a single row but i would like to see in a multiple rows.

      i had tried token property as =, / {=,/ = , / combination but nothing seems to be working??

      any idea.