3 Replies Latest reply on Feb 28, 2011 6:51 AM by ilya_shaikovsky

    can i Drag-Drop richfaces component?

    muneeswaranbalu

      Cai i drag and drop the rich faces compoenent using richfaces drag and drop component?Please help me.

        • 1. can i Drag-Drop richfaces component?
          ilya_shaikovsky

          Sure you can. Check demos please, any components could be "dragged" using similar code. Describe problems if have any.

          • 2. Re: can i Drag-Drop richfaces component?
            muneeswaranbalu

            Hi ilya,

             

                   Thanks for your reply.I wants to give option for add widgets in my application.For that i need to place the widgets,whereever user wants.Can i place more than one component whereever user wants using drag and drop?Because in the example they use the list for place the elments.So i can't use the different components in the source list and i can't place the components wherever i wants.Please help me.

            • 3. Re: can i Drag-Drop richfaces component?
              ilya_shaikovsky

              RichFaces drag and drop designed to process dnd with requests to server side and not just as UI action. So any drop processed as Ajax request. (e.g. you could place product into some shopping cart.) It does not supports just moving elements across the page.

               

              And your use-case of just UI rearrangements - sounds like pure client side operation. So probably you should use jQuery plugin directly. Or as option could use set of moveable popupPanels which always shown(but that solution could become slow if there are much such panels on the page.).