0 Replies Latest reply on Apr 21, 2008 3:29 PM by Michal Malczewski

    listShuttle and checkbox column ?

    Michal Malczewski Newbie

      Hi there,

      I wanted to use listShuttle to create some kind of configuration file. Each entry have it's position and additionaly two boolean properties. With a listShuttle positions are obtained correctly, but the additional properties not.

      I've made a short debugging and found the reason. getAsString method of my converter is called only once, during populating items in the listShuttle. Is it proper behavior?
      Should I call some JS action when checkbox is clicked (in order to update corresponding item)?

      This is my listShuttle code:

      <rich:listShuttle id="listShuttle"
       var="field" targetListWidth="300" sourceListWidth="300" listsHeight="500"
       <rich:column id="column1">
       <f:facet name="header">
       <h:outputText value="Field name" />
       <h:outputText value="#{field.wsName}" />
       <rich:column id="column2">
       <f:facet name="header">
       <h:outputText value="Required?" />
       <h:selectBooleanCheckbox value="#{field.required}" />
       <rich:column id="column3">
       <f:facet name="header">
       <h:outputText value="In Overview?" />
       <h:selectBooleanCheckbox value="#{field.overview}" />

      Any suggestions?