3 Replies Latest reply on Nov 2, 2007 7:28 AM by Adrian Voicu

    Suggestionbox bug 503 dosen't work

    Adrian Voicu Newbie

      I have the same bug related in :

      http://jira.jboss.com/jira/browse/RF-503

      and they told us that was fixed :

      Fix Version/s: 3.2.0(of richface of course)

      I found the riichface-3.2.0 SNAPSHOT but doesen't work too.

      Could someone tell me the tric

      Thx in advance




      ---------------------------------
      I'm trying to set a backingbean property from a property's POJO when the user selects an item from the suggestionBox..
      I tryed to use a4j:support binded to "onselect" event... and the f:setPropertyActionListener, inside do a4j:suport, was executed.

      But, the property of the POJO always came null to backingbean.
      Is it normal?

      follow the code:


      <h:inputText value="#{bean.letter}" styleClass="txt" style="width:190px;" id="grupoNome" />

      <rich:suggestionbox id="grupos" for="grupoNome" var="grupo" suggestionAction="#{bean.grupos}" requestDelay="500" >
      <h:column>
      <h:outputText value="#{grupo.nome}" />
      </h:column>

      <a4j:support event="onselect" reRender="grupoNome">
      <f:setPropertyActionListener target="#{bean.idGrupo}" value="#{grupo.id}"/>
      </a4j:support>
      </rich:suggestionbox>