4 Replies Latest reply on Jun 10, 2009 3:40 PM by Mehdi BRAHMIA

    List Shuttle inside a ModalPanel

    Mehdi BRAHMIA Newbie


      I have a problem integrating a listshuttle inside a modal panel : the source and target list are not updated when I submit to the server.

      Here is the code of the listShuttle :

      <h:panelGrid columns="1" columnClasses="cols" width="100%">
       <rich:listShuttle id="listShuttle"
       targetValue="#{Flight.displayedParameters}" var="item"
       listsHeight="200" sourceCaptionLabel="Available Items"
       targetCaptionLabel="Currently Active Items">
       <h:outputText value="#{item}" />
       function startProgress(){
       $('flightForm:progressBar').component.setLabel('Processing, please wait...');
       <rich:progressBar mode="client" id="progressBar" label="label">
       <f:facet name="complete">
       <h:outputText value="Process done" />
       <a4j:commandButton id="button" value="Start"
       action="#{Flight.reloadParameters}" onclick="startProgress();" />

      Note that the same code inside a common JSF page works perfectly.

      I would really appreciate if someone have a solution or a workaround.

      Thanks a lot !