Drag-drop functionality between regions

Hi all,
Can we drag and drop a content from one region to another region.
I have the following situation:
I have a taskflow where CollectionsDragSource is implemented and I intend to drop target(<af:dropTarget) onto a component in a new JSF Fragment Page of a different taskflow. How do i do this?
Thanks in advance

See if this helps you.
http://adfblogs.blogspot.com/2011/03/region-interation-example-2-using-adf.html
-Arun

Similar Messages

  • Drag & Drop Functionality Doesn't Work in External SWF?

    Hi all,
    I'm currently a TA for a Flash course at my school.  We're using AS 2.0 and working with external SWFs.
    I think this might be pretty simple to remedy.  Well, at least I'm hoping!
    A student is having trouble with drag & drop functionality when it  is used in an external SWF.  Basically, in our drag & drop section,  we have a sheet of paper ("paper" MC) and an object we drag into it  ("object" MC).  When the object is released in the paper area, we go to  frame 2 of "paper" MC, which consequently has an animation.
    This works fine and dandy in said drag & drop section, but once the  drag & drop section is loaded into our main SWF via a MC  placeholder, the drag & drop functionality stops working.
    Here is the URL to the drag & drop section by itself:
    http://www.phayzed.com/flashkit/drag_for_animation.swf
    and here is the URL to the main swf, which loads the drag & drop SWF into a movieclip and causes it to work incorrectly:
    http://www.phayzed.com/flashkit/main.swf
    Now here is the code on the draggable object ("object" MC):
    on (press) {
            startDrag (this, true);
    on (release) {
            stopDrag ();
            if (this._droptarget == "/paper") {
                    _parent.paper.gotoAndStop(2);
                    _parent.object._visible=false;
    If any more info is needed, I'm willing to upload both FLA files.   Although, something tells me that this is a simple issue to resolve.
    Thanks a lot for any help!!!
    Cheers
    T

    with as2 you must convert that antiquated as1 code:
    on (press) {
            startDrag (this, true);
    on (release) {
            stopDrag ();
            if (eval(this._droptarget) == _parent.paper) {
                    _parent.paper.gotoAndStop(2);
                    _parent.object._visible=false;

  • Best approach to work with drag & drop functionality

    I m new to java technology & want to implement drag & drop functionality with java web application.so, Please suggest me the best way or best framework or any api to implement drag & drop functionality with java web application.

    In that case, you're most likely looking for a JavaScript solution. In spite of the similar name, JavaScript has nothing to do with Java.
    You may want to Google for "javascript drag and drop".

  • How to Rearrange components using Drag Drop functionality

    Hi,
    Is it possible to re-arrange the components inside the form using drag drop functionality in RCF?
    There are 3/4 section headers in my screen, user can re-arrange them.
    But as per the RCF document it says, "Drag Drop functionality allows users to drag the value of one component and drop it on to another". It dosent say any thing about component drag-drop.

    Hi,
    there is a componentDragSource element that you use for this. However, persisting the change of location is not handled automatically. I didn't try this, but I assume that using the component drag option gives you access to the UI component itself so you can nest it in another container
    Frank
    Ps.: the drag event always givey you access to the component. This componentDragSource however shows the component when dragging, which is a slightly better indicator if you plan to re-arrange items

  • Drag and drop icons between regions

    I have two regions in a page. Each of the regions show employers available in different departments and each employer is represented with icons. is it possible to drag and drop employees between these two regions (departments) and finally save the latest changes made to the employes/deparments into the table?. any ideas are appreciated.
    thanks,
    Surya

    Yes it is possible, but not so easy. If you'll be at OOW this year, you can come to my session (S301752, Monday 13:00-14:00) - I will show something similar there. If you're not so lucky, you can read the excellent blogpost of my colleague at [http://rutgerderuiter.blogspot.com/2008/07/drag-planboard.html]
    Cheers
    Roel

  • Drag & Drop Images Between Tabs?

    Hi, Forgive me if I am missing the obvious but I need some help.
    Just got myself an iMac and I am in the process of getting it set up how I like it, Made the move from a Windows PC where I used the FireFox browser.
    My plan had been to just use Safari on my Mac to take advantage of all the good things like handoff, keychain etc with my other iOS devices.
    Now here is my problem, I use eBay a lot and I upload extra photos to hosting sites, then drag and drop them from that tab into the description on the eBay tab.
    However Safari does not seem to allow this, When trying to drag the images between tabs I just get a green + symbol which replaces the tab whereas when I use FireFox to do the same the other tab essentially "opens" allowing me to drop the image in.
    Is there anything I can do to fix this or a work around? I have tried the "Copy image" option but when I paste it in I just get a broken image picture.
    I should say the OS X version of FireFox works fine so it must be something to do with how Safari handles it.
    Hopefully somebody can advise?
    Many Thanks
    Craig

    I have found a slight work around in that if you use a new window instead of of a tab, then shrink it down you can drag and drop images.
    But surely there has to be a way to do it between tabs?
    Basically I am looking for a way to have the tab open when it is hovered on instead of the green + button appearing...

  • Drag & Drop functionality

    Hi Friend
    I'm using flash professional cs5.5. I have doubt in drag and drop functionality.
    1) Drop a object in mouse up
    2) Drag the object in mouse down
    Two Movie-clip (Button) on the stage. I have clicked the first Movie-clip, image will added to the button. and drag that image move to second button. It's working fine.
    I have doubt in add image and drag the image, How do split up the sequence???
    Thanks

    Your explanation is not clear (to me).  Can you show the relevant code you have and explain what you want it to do?

  • Urgent : Drag Drop Functionality

    Hi All,
    I have a datagrid with the drag drop enabled. My requirement is that when I drag the items I shouldn't see the dragged item ( the entire dragged row as such ) but by default Flex has the functionality which shows the entire dragged rows content on mouse move. Please help me out like how can i make thie entire row's visibility to false when i move the mouse with the selected item in the Datagrid

    When you perform drag and drop, you doesnt want to see the item which is getting dragged. Then don't specify the proxy (it can be image, data) which reflects while dragging.
    On mouse move handler of the dragging object you will specify DragSource
    For ex:
    private   function doDragOperation(evt:MouseEvent):void
    var img:Image = evt.currentTarget as Image; 
    var temp:Image = new Image();temp.source = no_icon
    temp.width = 1;
    temp.height = 1;
    var dsource:DragSource = new DragSource();dsource.addData(temp,
    'img'); 
    DragManager.doDrag(img, dsource, evt,temp);
    Message was edited by: VijiNaga

  • No drag & drop function? (iphone photos to mac desktop)

    Trying to just backup my photos that i take on my iPhone..... why can't I drag & drop them to my desktop (like i do from my camera memory cards)? Do I have to use iTunes - because it's very time consuming... more than that, it's hard to keep track of what you've backup up...

    That is not possible. You cannot drag photos from the computer back to the camera roll. You have no access to the camera roll in that direction, only from the camera roll to the computer. To put pictures back on the phone from the comptuer requires iTunes and the sync process. You can select the photos you want in iTunes once the iPhone is connected, then select the photo tab, select the photos and perform a sync.
    You cannot do it without iTunes.

  • Drag/Drop playlists between shared PCs via local network.

    Prior to Itunes ver 11.0.0.163, I was able to copy thru the drag/drop process a Itunes Home Shared playlist of music files on one computer - to another Home Sharing enabled  Itunes playlist, on another computer via local network. How is this done now?

    It appears with the release of Itunes ver 11.0.1.02 that this bug has been corrected.  Please close out this thread.  Thanks.

  • Tree drag-drop function

    hello all,
    there is one single tree component in my application.
    XML is dataprovider of that tree.
    e.g
    <node name="Cars" id="1" isparent="true">
    <node name="Audi" id="2" isparent="true">
    <node name="A4" id="3" isparent="false"/>
    <node name="A6" id="4" isparent="false"/>
    </node>
    <node name="Mercedes" id="5" isparent="true">
    <node name="M-Class" id="6" isparent="false"/>
    <node name="R-Class" id="7" isparent="false"/>
    </node>
    </node
    when i drag one node and drop to another node, how can i know the xml value of
    both source & destination node?
    e.g
    we are Dragging 'R-Class' node to 'Audi' node, on dragComplete OR dragDrop
    event, how to get R-Class node id 7 & Audi node id 2 in different variables.
    So we can check some validation of node and perform drag-drop operation.
    Any idea?
    Steve Roger.

    actually what i want to implement is like :
    When drapDrop event complete, i want XML value of both nodes (source & target) in variables.
    Then I will show dialog box having some options & instructions (e.g You wanna Move node OR Copy node to target).
    Depend on user selection, do the operation.
    hope u get application scenario.
    is this possible for tree control using drag drop? if so, then how?
    Please help.
    Thank you,
    Steve Roger.

  • Text and Image Drag Drop Functionality within TLF

    Is there any way by which  I can use select the text or inlinegraphic and drag and drop it within same component?

    if you want to drag and drop ILG within TLF,of course ,you can!
    somebody has made it
    http://diding.javaeye.com/admin/blogs/345239

  • TileList Drag/Drop functionality is broken if the same item is dropped twice or more

    Hi Folks.
    This is quite frustrating.
    I'm using two tilelists and you can drag items from one to
    the other.
    If you drag an item more than once then when you rollover
    that item it highlights the second(or most recent) version of the
    item you dragged.
    Basically the second tile list is containing exact copies of
    the first, so that when you rollover an item it is behaving as if
    only the most recent addition to the component is there.
    Here is the code.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="560" height="341">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    private var listArray:Array=[
    {label: "item0", data: 0},{label: "item1", data: 1},
    {label: "item2", data: 2},{label: "item3", data: 3},
    {label: "item4", data: 4},{label: "item5", data: 5},
    {label: "item6", data: 6},{label: "item7", data: 7}];
    [Bindable]
    public var cartFilterCol:ArrayCollection ;
    ]]>
    </mx:Script>
    <mx:Canvas width="568" height="340">
    <mx:TileList
    id="filterTilelist"
    direction="vertical"
    dataProvider="{listArray}"
    itemRenderer="mx.controls.Button"
    allowMultipleSelection="false"
    dragEnabled="true"
    width="219"
    borderStyle="inset" height="228" x="48" y="36">
    </mx:TileList>
    <mx:TileList backgroundColor="#ffffff"
    dataProvider="{cartFilterCol}"
    dropEnabled="true"
    allowMultipleSelection="false"
    dragMoveEnabled="true"
    dragEnabled="true"
    borderStyle="inset"
    columnCount="1"
    height="228" width="194" x="275" y="36">
    </mx:TileList>
    </mx:Canvas>
    </mx:Application>
    I think this is the issue here
    https://bugs.adobe.com/jira/browse/SDK-11894
    It seems to suggest that this issue is resolved but it
    doesn't go into details. Can anybody help me, even an ugly hack
    would do? Have tried several things like manually setting the
    mx_internal_uid on object beign dragged before it is dropped but no
    luck so far. I'm using Flex builder 2.0.1.
    Thanks
    Rob

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • How to implement drag-and-drop functionality in xMII iGrid?

    Hi,
    Is it possible to implement the drag and drop functionality between two iGrids of xMII in an irpt page? If yes can anyone please explain how?
    Thanks in advance,
    Dipankar

    http://tool-man.org/examples/sorting.html
    You would have to be creative and do something like this.

  • Drag and drop functionality in CM25

    Hello Experts,
         I am trying to configure CM25 so that when you drag and drop to change the start and end times on an operation within a process order, but to block the work centre being changed.  Ideally I like the user to be prompted to ensure they intended to change the work centre, but could live with a hard stop.  I have drag drop function set to AV09 (Function "Operation at time&work centre") at the moment.  I see there is a user exit defined on AV10 but haven't been able to establish what code this exit triggers and would like to get to the AV09 code as it pretty much does what I want.  I don't want to limit the screen to a single work centre as I want to see all related operations as need to see the work centre utilization for whole order across multiple processes, to ensure end times of one operation corresponds to start of the next.
    I am also looking to prevent capacities being moved at all once the process order has been started as effectively this process is locked in at this point and you cannot physically reschedule the remaining time.  (I know I am only supposed to pose one question at a time, but I believe this will be controlled within same configuration)
    Any suggestions / advice welcome,
    Regards,
    Jez

    Hello Jez,
    AV10 calls, from what I have been able to find out, the same exit that menu option Functions -> User (so enhancement CY190001). However, I could not as yet find a way to know where the user has dropped the object (to do the check, and to be able to continue with AV09 afterwards). The enhancement documentation only mentions how to get more information about the object, but not about where it was dropped.
    I am trying to use this to solve http://scn.sap.com/thread/3534956.
    Have you managed to find anything else on your side?
    Regards,
    Rui

Maybe you are looking for

  • Firefox crashes, then when restarts, it doesn't go to the page where it crashes. It is blank, so I have to reboot

    Firefox is crashing but restarting to a blank page. I then have to start all over again. Information on the crash is sent to Firefox on the crash, but it doesn't explain why it is not reopening to the place where the crash occurred. I am not getting

  • Expense Account from Organization Parameter

    Hi, I have created an item and unchecked the flag " Inventory Asset Value " from the costing tab in item master and child organization . Problem : when i create a purchase order -- in the distribution window i have chosen the type as " expense" and w

  • F110 cheque printing

    Hi friends, When I do the "Printout" step in F110, the print is not going directly to the printer, but a spool is created eventhough I am checking "Print immediatey" in the Variant. The message in SP02 is "Frontend unavailable". Can someone tell me w

  • Activity Journal not available in MSA

    Hi, Can someone please advise how to replicate AJs to mobile. Created an Activity Journal Template Type, assigned a Template, released it and I'm able to see the Activity Journal in the Maintain Activities transaction in CRM-Online, using the corresp

  • Problem Establishing Remote Desktop Connection from Win 7 64Bit

    I just got a new Lenovo laptop running Windows 7 Pro 64 Bit with Service Pack 1. I have installed all Win 7 Updates. When I try to connect to other Windows 7 Ultimate (32 bit) desktops through Remote Desktop Connection over my LAN, I get the followin