4 Replies Latest reply on Jun 6, 2008 10:41 AM by Paolo Russian

    dragNdrop

    Paolo Russian Newbie

      hi there, how can I apply to a rich:panelMenu the drag feature? what I want to achieve is to have a panelMenu where I can drag a row (with its action value) into another simplepanel. Some kind of "favourites".
      But I can't find a working way to use the dragNdrop tags within the panelMenu, anyone got a suggestion for me?

      Thanks

        • 1. Re: dragNdrop
          Ilya Shaikovsky Master

          I can't understand what kind of problem stops you..
          Just basic livedemo example could be freelly rebuilt in order to use other components instead of Panels as draggable. Do you have some result already and some problems within or you just want somebody write this from scratch? :)

          • 2. Re: dragNdrop
            Paolo Russian Newbie

            Fancy answer, but typing "I don't know" usually saves time ;)
            Pity me the rich:dragSupport doesn't produce any effect no matter where you place it in a panelMenu, you can drag the icon imagepath, not the leaf action.
            I know I can rebuild it to make it work as I want, but not everyone can or wants to be a contributor.

            • 3. Re: dragNdrop
              Ilya Shaikovsky Master

              look.. if we talking about representation of dragged element - then yes, drag support doesn't drag the parent itself. You should create representation in dragIndicator on your own.

              Sorry, but I'm thinking you asked about server side actions after drop.

              • 4. Re: dragNdrop
                Paolo Russian Newbie

                 

                "ilya_shaikovsky" wrote:
                look.. if we talking about representation of dragged element - then yes, drag support doesn't drag the parent itself. You should create representation in dragIndicator on your own.

                Sorry, but I'm thinking you asked about server side actions after drop.


                Let's say I easily implemented all the rf components as I tried them, actually I'm not the server side (meaning beans) man in the dev team, I'm the eclipse gmf and interface guy, what I'm trying to do is to have a panelmenu action being drag and droppable in another panel, so I can click and start my drool diven process also from there. The process starting part is secondary by now and not my business, I'm trying to obtain a graphical dummy, but functional (html,js) implementation. Like using a dummy plain string in a h:outputText instead of a #{binding}, this because if it's not possible, or can't get it to work we have to find another way before consuming our very little time.