0 Replies Latest reply on Jul 24, 2008 5:17 AM by Tobias Schnakenberg

    Can't retreive target value from listShuttle

    Tobias Schnakenberg Newbie

      I'am trying to get the target value from my listShuttle:

      <h:form>
       <rich:listShuttle id="dynamic_smsText_list" sourceValue="#{ticketsMenu_Backing.availableColumns}" targetValue="#{ticketsMenu_Backing.selectedColumns}" var="items">
       <rich:column>
       <h:outputText value="#{items.label}"></h:outputText>
       </rich:column>
       </rich:listShuttle>
       <a4j:commandButton value="Submit" />
      </h:form>


      My backing bean has following getters/setters:

      public List getAvailableColumns() {
      
       return controller.getAvailableColumns();
      }
      
      public void setAvailableColumns(List availableColumns) {
      
       controller.setAvailableColumns(availableColumns);
      }
      
      public List getSelectedColumns() {
      
       return controller.getSelectedColumns();
      }
      
      public void setSelectedColumns(List selectedColumns) {
      
       controller.setSelectedColumns(selectedColumns);
      }


      The source value list gets displayed fine and I'm able copy and remove any items from and throught the target value list. But when I submit the form, the setter for the target value won't be invoked I am not able to retrieve the selected items.

      Thanks for any ideas or hints?