0 Replies Latest reply on Feb 27, 2008 10:33 AM by Khilesh Prasad

    how to create multi draggable?

    Khilesh Prasad Newbie

       

      <rich:panel style="border:0" styleClass="dropPanel">
      <rich:dropSupport id="leftContainer1"
      acceptedTypes="FC" dropValue="FormLeft"
      dropListener="#{eventBean.processDrop}"
      reRender="leftPannel">
      </rich:dropSupport>
      
      
      
      <!-- Added for redraggable -->
      
      <rich:dragSupport dragIndicator=":rowDragIndicator"
       dragType="leftFm" dragValue="#{leftFm}">
       <rich:dndParam name="label" type="drag"/>
      </rich:dragSupport>
      
      <rich:dropSupport id="leftContainer2"
       acceptedTypes="[leftFm,rightFm]" dropValue="leftFm"
       dropListener="#{multiDnDEventBean.processDrop}" reRender="leftPannel">
      </rich:dropSupport>
      
      <h:panelGrid width="100%" id="leftPannel" columns="1"
      binding="#{eventBean.leftFormPanel}">
      </h:panelGrid>
      
      <!-- End of redraggable -->
      
      </rich:panel>
      
      <rich:panel style="border:0" styleClass="dropPanel">
      <rich:dropSupport id="rightContainer1"
       acceptedTypes="FC" dropValue="FormRight"
       dropListener="#{eventBean.processDrop}"
       reRender="rightPannel">
      </rich:dropSupport>
      
      
      
      <!-- Added for redraggable -->
      
      <rich:dragSupport dragIndicator=":rowDragIndicator"
       dragType="rightFm" dragValue="#{rightFm}">
       <rich:dndParam name="label" type="drag" />
       </rich:dragSupport>
      
       <rich:dropSupport id="rightContainer2"
       acceptedTypes="[rightFm,leftFm]" dropValue="rightFm"
       dropListener="#{multiDnDEventBean.processDrop}" reRender="rightPannel">
      </rich:dropSupport>
      
       <h:panelGrid width="100%" id="rightPannel" columns="1"
       binding="#{eventBean.rightFormPanel}">
      </h:panelGrid>
      
      
      <!-- End of redraggable -->
      
      </rich:panel>

      any one help me how to create multi draggable with richfaces , i am getting problem . I have drag and drop one time in form but faceing problem with move component form one column to another column.
      please help me..........