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

    Suggestionbox bug 503 dosen't work

      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>

        • 1. Re: Suggestionbox bug 503 dosen't work
          ilya_shaikovsky

          what about your snapshots creation day?

          • 2. Re: Suggestionbox bug 503 dosen't work

            Ok, was about:
            richfaces-ui-3.2.0-20070925.235823-1

            but now changing with:
            richfaces-ui-3.2.0-20071030.110357-15

            I faced another error:
            An error occurred at line: 338 in the jsp file: /mwCustomerCard.jsp

            The method setBeanName(String) in the type KeepAliveTag is not applicable for the arguments (JspValueExpression)

            ...
            <a4j:keepAlive beanName="#{postalAddressTable}" />

            ...

            Someone can help me?
            Thx

            • 3. Re: Suggestionbox bug 503 dosen't work

              Sorry that is my lib:

              commons-beanutils-1.7.0.jar
              commons-collections-3.2.jar
              commons-digester-1.8.jar
              commons-el-1.0.jar
              commons-fileupload-1.0.jar
              commons-lang-2.1.jar
              commons-logging-1.0.4.jar
              displaytag-1.1.jar
              displaytag-export-poi-1.1.jar
              jsf-api.jar
              jsf-impl.jar
              jstl-1.2.jar
              log4j-1.2.14.jar
              mysql-connector-java-5.0.5-bin.jar
              richfaces-api-3.2.0-SNAPSHOT.jar
              richfaces-impl-3.2.0-SNAPSHOT.jar
              richfaces-ui-3.2.0-SNAPSHOT.jar

              tomahawk-1.1.6.jar
              xercesImpl-2.4.0.jar