4 Replies Latest reply on Jul 24, 2008 3:44 AM by Ilya Shaikovsky

    Possible to get table header on suggestionbox?

    Shervin Asgari Master

      Hello.
      Is it possible to get some sort of title on the suggestionbox.
      i.e

      I have a suggestion box that prints out
      Person and State. But the user cannot see that the first column is the Person number, Name and State
      Is this possible?

      I would like to say table header or something. title here doesnt quite work. It only gives a mouseover title.

      This is my current code

      <rich:suggestionbox for="personname"
       suggestionAction="#{personList.autocomplete}"
       fetchValue="#{object.personnumber},#{object.name}" var="object" minChars="2" >
       <h:column>
       <h:outputText value="#{object.personnumber}" title="Personnumber"/>
       </h:column>
       <h:column>
       <h:outputText value="#{object.name}" title="Statename"/>
       </h:column>
       <h:column>
       <h:outputText value="#{object.state.name}" title="State" />
       </h:column>
      </rich:suggestionbox>