1 Reply Latest reply on Aug 6, 2012 11:55 AM by Sascha Janz

    getting hidden value from suggestbox selection

    Sascha Janz Master

      i use richfaces 3.3.3


      i got a suggestbox with some identica list entries for selection, but with different attributes. so i must know which elment of the list was choosen.


      i tried this


      <h:inputText id="suggest_input" />

         <rich:suggestionbox for="suggest_input" minChars="1"

             fetchValue="" nothingLabel="no entry found"

               suggestionAction="#{myMB.suggestData}" var="suggest">


                  <h:outputText value="#{suggest.propertyA}" />



                  <h:outputText value="#{suggest.propertyB}" />


                  <a4j:support ajaxSingle="true" event="onselect"

                      action="#{myMB.refreshData}" reRender="data_id">

                  <a4j:âctionParam  name="paramkey" value="#{suggest.key}"

                          target="#{myMB.key}" />





      but the actionparam "paramkey" alwasy is null. although "suggest.key" never is null.


      any ideas what is wrong?