4 Replies Latest reply on Nov 27, 2007 10:53 AM by graffer3

    suggestionbox + header and meaning of attributes tokens, dat

    graffer3

      Hi community,

      One question according rich:suggestionbox :

      How can I display a column header in the suggestionbox? I tried using:

      f:facet

      but it didn't work. Any idea how to display a header?
      Anyway what for exactly are the attributes: tokens, data and rules?

       <h:inputText id="iboNo" value="#{ig001.form.iboNo}" style="width:160px;" />
       <rich:suggestionbox id="iboNoSugg" for="iboNo"
       nothingLabel="[no matches]"
       bypassUpdates="true"
       ajaxSingle="true"
       suggestionAction="#{ig001.iboNoAutocomplete}"
       var="result"
       first="0"
       minChars="0"
       width="160"
       height="100"
       selfRendered="true"
       fetchValue="#{result}"
       >
       <h:column>
       <f:facet name="header"><h:outputText value="IboNo" /></f:facet>
       <h:outputText value="#{result}" />
       </h:column>
       </rich:suggestionbox>
      
      



      Thanks & bye,

      Georg