1 Reply Latest reply on Feb 17, 2010 3:49 PM by Justin Rosenberg

    rich:listShuttle not saving changes on server side

    Justin Rosenberg Newbie

      I'm using the 3.1.6.GA release of RichFaces and can display a list shuttle correctly, but when I submit, changes aren't made to the list in the bean.  The bean IS in session scope.

       

      <rich:listShuttle sourceValue="#{ManageBatchTests.immediateTests}"

                  targetValue="#{ManageBatchTests.batchTests}"

                  var="testCat" listsHeight="150" sourceListWidth="130" targetListWidth="130"

                  sourceCaptionLabel="Available Tests" targetCaptionLabel="Batch Tests" orderControlsVisible="false"

                  converter="TestCatalogConverter"  >

                  <rich:column>

                      <h:outputText value="#{testCat.code} - #{testCat.universalName}"/>

                  </rich:column>

              </rich:listShuttle>

       

      public class ManageBatchTests extends BaseManagedBean {

      private List<TestCatalog> batchTests;

      public List<TestCatalog> getBatchTests() {

      return batchTests;

      }


      public void setBatchTests(List<TestCatalog> batchTests) {

      log.debug("setBatchTests()");

      this.batchTests = batchTests;

      }

       

      faces-config.xml

      <managed-bean>

      <managed-bean-name>ManageBatchTests</managed-bean-name>

      <managed-bean-class>

      com.crlcorp.tls.batch.manager.jsf.ManageBatchTests

      </managed-bean-class>

      <managed-bean-scope>session</managed-bean-scope>

      </managed-bean>

      <converter>

      <converter-id>TestCatalogConverter</converter-id>

      <converter-class>

      com.crlcorp.tls.batch.manager.jsf.TestCatalogConverter

      </converter-class>

      </converter>

       

      I don't get any conversion errors, the list is simply not updated.  Any ideas what I might be doing wrong?