%IP-3-LOOPPAK: Looping packet detected and dropped -

Hello All,
Recenlty we have upgraded the IOS from c2800nm-ipvoicek9-mz.124-15.T14.bin to c2800nm-ipvoicek9-mz.151-4.M8.bin. After that the gateways are hitting the below error message. The src IP is voice gateway IP address and dst IP is muliticast MOH IP configured under call manager fall back. Assistance are much appreciated..
%IP-3-LOOPPAK: Looping packet detected and dropped -
src=10.0.XXX.XXX, dst=239.X.XXX.254, hl=20, tl=116, prot=17, sport=16803, dport=16385
in=local, nexthop=239.X.XXX.254, out=GigabitEthernet0/0
options=none -Process= "VOIP_RTCP", ipl= 0, pid= 299
-Traceback= 425C9758z 425CAA30z 425CBBFCz 425CC0D4z 425CD214z 425CD524z 425CD590z 42AC4178z 43AA20DCz 43AA9B44z 437F3094z 437F3078z
Thanks
Murali

CSCtn83520 is a suspect but you are already on an IOS version that contains the fix to this defect.
Are you facing any issues with calls or MOH?

Similar Messages

  • WAAS and WCCP - looping packet detected

    Hi,
    Has anyone ran into this senario before. Before anyone answers with "move your WAE off the user subnet", it already has been.
    I have wccp 61 redirect in on the user subnet (gig0/0.83 of a dot1q trunk). The WAE is on gig0/1. Before I apply wccp62 to the serial link, I attempt to telnet from a user pc to the router (same subnet, clients default gateway), and the telnet fails. I get a "looping packet detected" on the router console. It shows the source of the packet as the router (wccp router id actually), and the destination ip of the WAE, but the packet came in gig0/1 (interface connected to wae). Obviously the WAE returned the packet to the router (with the original GRE headers, (router as source)). I thought WCCP would understand this as "don't redirect this traffic to me anymore", but the router, actually tries to route it back down gig0/1 and then sees it as a looping packet. I believe the WAE is returning the encapsulated packet to the router to indicate it doesn't want the flow, and the router is attempting to route the GRE packet, instead of realizing it should remove the GRE header and route the internal packet. Router is IOS 12.4(12) as recommended by my Cisco engineer. 2821 router.
    For kicks, I continue the WCCP setup on the datatcenter side. As expected, it doesn't work. When I apply the WCCP to the datacenter router (only redirecting lab subnet), the entire lab subnet is unreachable via TCP (but icmp still works as expected).
    The WCCP configuration isn't very complex, I can't believe its something I'm doing. I think its a code issue.
    Any advise?

    no "out" anywhere. The LAB router has a WAE list to only allow redirect to the lab WAE. I don't even need the 62 in on the WAN side, just applying 61 in on the LAN side breaks telnet to the router.
    LOOPING PACKET DETECTION:
    from router console
    Feb 27 14:56:32.924: %IP-3-LOOPPAK: Looping packet detected and dropped -
    src=132.242.11.18, dst=153.61.83.70, hl=20, tl=76, prot=47, sport=0, dport=0
    in=GigabitEthernet0/1, nexthop=153.61.83.70, out=GigabitEthernet0/1
    options=none -Process= "IP Input", ipl= 0, pid= 77 -Traceback= 0x410F6978 0x415CC960 0x415CDC60 0x415BBB38 0x415BCF18 0x415BD27C 0x415BD2FC 0x415BD4E8
    Router configuration:
    ip wccp 61 redirect-list REDIRECT-WAAS-SUBNETS-61 group-list remote-waas-box
    interface Loopback0
    ip address 132.242.11.18 255.255.255.255
    h323-gateway voip bind srcaddr 132.242.11.18
    interface GigabitEthernet0/0.83
    description << data vlan 83 >>
    encapsulation dot1Q 83
    ip address 153.61.83.3 255.255.255.192
    ip helper-address 192.127.250.22
    ip helper-address 149.25.1.182
    no ip proxy-arp
    ip wccp 61 redirect in
    standby 83 ip 153.61.83.1
    standby 83 priority 200
    standby 83 preempt
    standby 83 track Serial0/1/0:0.99 100
    interface GigabitEthernet0/1
    description << WHQ LAB CE connection >>
    ip address 153.61.83.65 255.255.255.192
    load-interval 30
    duplex full
    speed 100
    ip access-list standard remote-waas-box
    permit 153.61.83.70
    ip access-list extended REDIRECT-WAAS-SUBNETS-61
    permit ip 153.61.83.0 0.0.0.63 any
    WAE configuration:
    device mode application-accelerator
    primary-interface GigabitEthernet 1/0
    interface GigabitEthernet 1/0
    ip address 153.61.83.70 255.255.255.192
    no autosense
    bandwidth 100
    full-duplex
    exit
    wccp router-list 1 153.61.83.65
    wccp tcp-promiscuous router-list-num 1
    wccp version 2
    wccp slow-start enable

  • Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Here's the short-cut solution:
    Green Apple tracks are MIDI files (so to speak). If you drag one from the loop browser (Capitol C Orchestral hit, as you mentioned in this exable) directly into the arrange page it creates the MIDI file and the instrument to play it back on.
    HOWEVER.If you create and audio track first, THEN drag the green Apple loop onto that track, the loop will get "bounced" with the reverb in tact and you'll have the exact sound that you heard in the preview.
    Make sense?

  • Hello.... I already loaded logic 9 on my laptop hard drive... I would to load all the samples and loops on an external drive... Do I need to reinstall from DVD's or can I drag and drop?

    Hello.... I already loaded logic 9 on my laptop hard drive... I would to load all the samples and loops on an external drive... Do I need to reinstall from DVD's or can I drag and drop?

    Thank you.... Would you know where they would be on my hard dive? Are they all together?

  • Drag and Drop - detecting drop away from a component

    Flex 4, AIR 2.0 app
    I have a drag and drop detecting a Button drag away from a Group1 into Group2.
    When the user drops into a Group2, the Button is added to it, which obviously removes it from Group1.
    I would like it that if the user drags away from Group2 and drops it randomly on the screen, the Button will be added back into Group1.
    Does anyone have any ideas as to how I might go about detecting the end of a drag when not over a component, so I can add the button back into Group1 again?
    Hope that makes sense!!!

    Thanks Ronnie,
    I'll have a look at gthis as it looks a bit more efficient than the solution I have come up with.
    The only thing I'm not sure about is at what point my Button gets put back into Group1.  In my current movie, I have a function which handles the dragDrop event.  But if I drop outside a component, I don't have an event from which I call the handleDrop(dragEvent) function.
    I'll have a look.
    In the meantime, what I'm doing is Making my drag item a custom component, passing a reference to it's default container (Group1) and its Default X and Y co-ordinates.
    Then, I have a dragComplete handler which is called whenever the drag item is released - I then check the action property of the event and if it is "none" I know it has been dropped outside a recognised target and I can add it back into its default group and set its default x and y coordinates.  This seems to work quite nicely at the moment.
    so, my code in the Drag Button looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Button xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        mouseDown="mouseDownHandler(event)"
        dragComplete="dragCompleteHandler(event)">
    <fx:Script>
      <![CDATA[  
       import mx.core.DragSource;
       import mx.core.IUIComponent;
       import mx.events.DragEvent;
       import mx.managers.DragManager;
       public var _defaultParent:Object;
       public var _defaultX:Number;
       public var _defaultY:Number;
       protected function mouseDownHandler(event:MouseEvent):void
        // the drag initiator is the object being dragged (target of the mouse event)
        var dragInitiator:IUIComponent = event.currentTarget as IUIComponent;
        // the drag source contains data about what's being dragged
        var dragSource:DragSource = new DragSource();
        // ask the DragManger to begin the drag
        DragManager.doDrag( dragInitiator, dragSource, event, null );
       protected function dragCompleteHandler(event:DragEvent):void
        // TODO Auto-generated method stub
        //trace("Drag complete!");
        //trace("target = " + event.target);
        //trace("action = " + event.action);
        if (event.action != "none"){
         trace("woo!");
        }else{
         trace("put the drag label back into its original position");
         if (event.target.parent != _defaultParent){
          trace("put it back, you monster!");
          _defaultParent.addElement(event.target);
          event.target.x = _defaultX;
          event.target.y = _defaultY;
         }else{
          trace("ah... it's already in the right place... actually!");
      ]]>
    </fx:Script>
    </s:Button>

  • C3PO - Scanning a Folder & Detecting user's "drag-and-drop" operations

    We are using Novell C3PO to export messages in XML format when the user
    press a button at the GroupWise Client message window, and this was done to
    provide an integration with a ERP software (from a very famous company here
    in Brazil), so the user reads his emails and can click this button and open
    the ERP ORDER SCREEN with all costumer's data filled in, that increases the
    productivity of the Sales Departament.
    REsuming, the main porpouse is to collect information of each email to open
    the Order Screen of the ERP system, without having to type everything again.
    The costumer wanted to go on and get several messages at the same time, that
    was stored on a GroupWise Folder, using a simple redirection rule and this
    was done using Visual Basic (called here "looking process"), that looks for
    messages into a specific folder in the GroupWise Client called "_Send". So,
    convert that messages to XML and then move to another folder called
    "_History".
    Now we can drag many messages at the same time to the folder _Send and then
    they will be converted. It is working very well. The problem is that the
    GroupWise Client computers are becoming slower because of the "looking
    process" (that VB application). We used VB because we could not find a
    process or a feature in C3PO that selects several messages at the same time
    and read them one-by-one.
    QUESTIONS :
    1- Can I have this "Looking Process" using C3PO tools ?
    2- Is there a way to detect a "Drag-and-Drop" event in the GroupWise Client
    with C3PO, so I would not need to scan those folders ?

    Jose Calil Nassur wrote:
    > We are using Novell C3PO to export messages in XML format when the user
    > press a button at the GroupWise Client message window, and this was done to
    > provide an integration with a ERP software (from a very famous company here
    > in Brazil), so the user reads his emails and can click this button and open
    > the ERP ORDER SCREEN with all costumer's data filled in, that increases the
    > productivity of the Sales Departament.
    > REsuming, the main porpouse is to collect information of each email to open
    > the Order Screen of the ERP system, without having to type everything again.
    >
    >
    I've been doing something similar, but rather than creating a new
    message, I've been using custom properties
    on each mail, so as they arrive I add two tags, one with a tagID, and
    the other with metadata. I then write
    searches for each folder returning only the message that are yet to be
    tagged. Nice and efficient, written
    in C#. I've run over my big mailbox (2GB) and the box hardly raises a sweat.
    Sincerely,
    Adam Bradley
    Identity Concepts
    Mobile : +61 419 637 518
    email : adam_j_bradley \at\ identityconcepts.com.au
    irc: #nidm on freenode.net
    Web : http://www.identityconcepts.com.au

  • Newly installed GB 11 - LOOPS ARE GONE and won't download updates

    i just installed GB 11 and tried to open files. virtually all my loops are grayed out. "The software instrument or loop is not currently installed on your computer - would you like to install the complete set of loops on your computer?" i click "Download Now". it tells me to check software update but nothing shows up in soft. update. i've tried restarting and opening other files but my loops are gone.
    did i just lose all my loops?

    Right on, Pbassjams. my sentiments exactly! that's the same response they told me at the apple store. and you go home and load the disc and say to yourself: "What the **** are they talking about? there are no loop options". i did find out however that you can go into your HD library folder - then open Audio folder and then you'll see apple loops. you can actually select all the loops in there and manually DRAG and DROP them into your loops section in GB. this may solve the problem or you could have a new annoying problem. you'll have each loop listed twice. if that's the case, here's what another apple user wrote in discussions:
    This sounds like a problem with several generations of GB content mixed in your loops folder.
    Apple at one point in time changed the loops from .aif to .caf. So you definitively need only one version of each loop, it'll save you a lot of disk space to delete the duplicates. So I would proceed like this:
    • Clean up your loops in the Finder by deleting the .aif versions of loops that you also have as .caf. (Sort the folder by kind, that should separate them.)
    • Delete the Loops Index folder completely.
    • Start up GB, it'll tell you you have no loops.
    • Drag your purged Loops folder into the Loop Browser window, GB will now create a new Loops index that will only contain the ones that are actually in that folder.

  • How to auto close finder window after drag and drop?

    In Tiger, I would file away items on my desktop my dragging them to the hard drive and then digging down to the appropriate folder. The finder window would then close automatically after dropping the file. Is there a setting in Snow Leopard that will enable similar functionality? Whenever I complete a drag and drop now the finder window just stays open, which isn't a huge issue, but I'd still like to change it. Thanks!

    Here is the test code:
         lo_nd_table_data_source = wd_context->get_child_node( name = wd_this->wdctx_table_data_source ).
          lo_nd_table_data_source->get_static_attributes_table( IMPORTING table = lt_table_data_source ).
          "Read Dummy Table
          lo_nd_table_data_source->get_static_attributes_table( IMPORTING table = it_table_data_source ).
        CONCATENATE ls_airline_info-carrid ls_airline_info-connid ls_airline_info-fldate INTO ls_table_data_source-row_key.
          ls_table_data_source-parent_row_key = ls_airline_info-carrid.
          ls_table_data_source-is_leaf   = abap_false.
          ls_table_data_source-expanded  = abap_true.
            SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE it_table_data_source.
         LOOP AT it_table_data_source INTO wa_table_data_source WHERE carrid = ls_airline_info-carrid
                                                                and   connid = ls_airline_info-connid
                                                                and   fldate = ls_airline_info-fldate.
          ls_table_data_source-connid    = ls_airline_info-connid.
          ls_table_data_source-fldate    = ls_airline_info-fldate.
          ls_table_data_source-PRICE     = wa_table_data_source-PRICE.
          ls_table_data_source-CURRENCY  = wa_table_data_source-CURRENCY.
          "Select all data to the new dummy table structure.
          "Move one row of the table to ls_table_data_cource correspondingle.
          APPEND ls_table_data_source TO lt_table_data_source.
          DELETE ADJACENT DUPLICATES FROM lt_table_data_source.
       ENDLOOP.
          lo_nd_table_data_source->invalidate( ). "Clear the table data
          lo_nd_table_data_source->bind_table( lt_table_data_source ). "Refresh new data
    Thanks,
    Kiran

  • A question about drag and drop

    I have multiple images which can be dragged and dropped in a canvas. How can I get information about pictures into dataGrid, for instance the name and value (price) of an image? Currently my images are in array like this:
    private function init():void {
    currentExampleImage = imageExampleArray[imgExampleCurrentIndexNumber];
    private var imgExampleCurrentIndexNumber:Number = 0;
    private var imageExampleArray:Array =
    "assets/image1.png",
    "assets/image1.png"
    and they are run with loop like this:
    [Bindable] protected function get currentExampleImage():String {
        return _currentExampleImage;
    protected function set currentExampleImage(value:String) : void {
        _currentExampleImage = value;
    private function nextExampleImage(e:MouseEvent):void {
        if(imgExampleCurrentIndexNumber < imageExampleArray.length - 1)
        imgExampleCurrentIndexNumber++;
        currentExampleImage = imageExampleArray[imgExampleCurrentIndexNumber];
    else
        imgExampleCurrentIndexNumber = 0;
        currentExampleImage = imageExampleArray[imgExampleCurrentIndexNumber];
    So the question is that how can I set and get the name and the value of an image when it is dropped on a canvas and that information to be shown in a separate datagrid? Should I be using objects or classes? This is the drop function:
    private function doDragDrop(event:DragEvent):void
        var img:Image;
        if (event.dragInitiator.parent == whiteBoard)
            img = event.dragInitiator as Image;    
        else
            img = new Image();
            img.source = (event.dragInitiator as Image).source;
            img.addEventListener(MouseEvent.MOUSE_DOWN, doDragStart);
            whiteBoard.addChild(img);        
               img.x = event.localX - (event.dragSource.dataForFormat("localX") as Number);
               img.y = event.localY - (event.dragSource.dataForFormat("localY") as Number)
    Thanks beforehand and feel free to ask more information something is unclear.
    Message was edited by: SerpentChimera

    There's a separate empty datagrid in my application and the main intention is to make the information of each image (those dragged and dropped onto a canvas that is a designing area) being shown in the datagrid's columns Name - Quantity - Price. Those values should be obtained from each image but I'm currently unaware of the technique how the information could be added to the images.
    For instance Example1.png has a price value of 150€ and when that image is moved onto a canvas, the name and price should be shown in the datagrid and thus there should be simultaneous changes in the Quantity-column when I move the same image onto a canvas many times. Those images can also be removed from the canvas area and then the quantity should decrease. Obviously that same function should work on other images we have in a menu from where the images are dragged and then moved and dropped in the canvas. If I move Example1.png four times there should be Example1 in the name column, 4 in the quantity column and 600€ in the price column and of course all of them in the same row.
    Pay attention to the code I put into the first post. You may suggest better options how I can sort-of-import (couldn't invent better term) images to the application.
    Later there will be a row in the end of the datagrid/chart where the total price of every object that are moved on the canvas should be shown but that's another story.
    Hopefully this made some sense to the whole thing.

  • Why cant I drag and drop into playlists

    I used to be able to drop and drag inrto playlists. Now I get a message which says press + button to add, but there seems no way of doing it. I'm using windows 7

    Apple Support Communities updatesI’ve tried the control-I route and then tried to locate the file without success. What I get as a file location starts with //localhost/C:/Users. It may also be useful to know that most/all the missing files seem to have been copied from CDs. I can’t be sure if it’s all because the whole music file has nearly 9000 entries! The ones that still seem to work were copied from an external hard drive.
    From: Apple Support Communities Updates
    Sent: Wednesday, April 01, 2015 7:30 PM
    To: couffin
    Subject: - why cant I drag and drop into playlists
                                                                                    You received a reply 
                                    turingtest2 has replied to your question. You can view the full discussion in Apple Support Communities.                                                                                
    why cant I drag and drop into playlists 
                                    The "missing file" error happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place. (In the case of a library moved from one system to another there are also potential permissions issues. See Repair security permissions for iTunes for Windows if this might apply.)
                                    Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. (Due to a bug in iTunes 12 you currently have to say No twice!) Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case.
                                    In some cases iTunes may be able to repair itself if you go through the same steps with Get Info but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" it expects to find the tracks in the same artist & album layout that it generates, not all in one big folder.
                                    If another application like Windows Media Player has moved/renamed the files then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works.
                                    tt2
                                                                                    Correct Answer Helpful Answer 
                                  Use the buttons above to tell turingtest2 and the rest of the community if this reply solved your question or helped you get closer to finding a solution. 
                                  To reply to turingtest2, go to the discussion in Apple Support Communities. 
                                  You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile. 
                                  TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014. 
                                  All Rights Reserved | Privacy Policy | Terms of Use | Apple Support

  • RE : Drag and Drop operations between two outlinefields

    Hi,
    Has any one tried the drag and drop operations between two Outline widgets ina
    window.Any help appreciated.
    Thanks
    balsubHi Balsub,
    Here are some lines which can help you :
    First of all, your 2 OutLineFields must be in a draggable state.
    In the event loop of your window, you have to listen to the event
    ObjectDrop
    on the 2 OutLineFields :
    When Self.<MyOutLine1>.ObjectDrop(SourceX = SourceX,
    SourceY = SourceY,
    SourceField = SourceField,
    TargetX = TargetX,
    TargetY = TargetY,
    TargetField = TargetField) do
    When Self.<MyOutLine2>.ObjectDrop(SourceX = SourceX,
    SourceY = SourceY,
    SourceField = SourceField,
    TargetX = TargetX,
    TargetY = TargetY,
    TargetField = TargetField) do
    Then, when you receive this event, the LocateNode() method will give you
    the DisplayNode which is beeing dragged :
    (assume that your OutLineFields are mapped to the class named :
    ClassOutLine,
    and Col is an Integer which is not important here)
    TheSourceLine : ClassOutLine;
    Col : Integer;
    TheSourceLine = (ClassOutLine)((OutLineField)(SourceField).LocateNode(X
    = SourceX,
    Y = SourceY,
    Column = Col));
    If you want to remove this line from the Source OutLineField :
    TheSourceLine.Parent = Nil;
    TheSourceLine.UpdateFieldFromData();
    If you want to insert this line at the end of the Target OutLineField :
    TheSourceLine.Parent = (OutLineField)(TargetField);
    TheSourceLine.UpdateFieldFromData();
    And if you want to insert this line before or after the Target line of
    the Target OutLineField :
    TheTargetLine : ClassOutLine;
    TheTargetLine = (ClassOutLine)((OutLineField)(TargetField).LocateNode(X
    = TargetX,
    Y = TargetY,
    Column = Col));
    TheTargetLine.PrevSibling = TheSourceLine; // Insert the source line
    before the target line
    or
    TheTargetLine.NextSibling = TheSourceLine; // Insert the source line
    after the target line
    TheTargetLine.UpdateFieldFromData();
    I hope this help you !
    - Manuel -
    Manuel Deveaux
    Forte Developer
    Mutuelle Pr&eacute;viade
    FRANCE
    E-Mail : [email protected]
    -----------------------------------------

    There is no configuration for it. It should work.
    Can you try it in a different user account. If it works in a different account, then it is likely something in your current user account that is messed up. If it doesn't work in another user account, then it is likely something with Mail, itself. 
    You could try downloading and installing the 10.6.7 combo update. That may repair what is wrong.

  • Drag and Drop in Training Simulation

    Hi everyone. Newbie here.
    I am creating a software training module. One of my exercises
    requires my users to re-order some columns by dragging and
    dropping. If I record in training simulation, is there a way to
    capture drag and drop? Or do I just need to create a click zone on
    the column header and then jump to the next slide where the column
    is in its correct location?

    Capture of a drag and drop action should be automatic if all
    defaults are left. There is a feature called "full-motion"
    recording that is automatically invoked whenever a
    left-click-and-hold action is detected by Captivate - during the
    Recording function.
    Note the "full-motion" I am referring to is NOT the same as
    using the "Full Motion" recording
    mode. If there is confusion about this, let us know and
    someone hereabouts will give you a detailed explanation.
    ~golfliness is close to Godliness
    Larry

  • How to drag and drop tab nodes between tab panes

    I'm working on example from this tutorial( Drag-and-Drop Feature in JavaFX Applications | JavaFX 2 Tutorials and Documentation ). Based on the tutorial I want to drag tabs between two tabs. So far I managed to create this code but I need some help in order to finish the code.
    Source
    tabPane = new TabPane();
    Tab tabA = new Tab();
       Label tabALabel = new Label("Main Component");
    tabPane.setOnDragDetected(new EventHandler<MouseEvent>()
                @Override
                public void handle(MouseEvent event)
                    /* drag was detected, start drag-and-drop gesture*/
                    System.out.println("onDragDetected");
                    /* allow any transfer mode */
                    Dragboard db = tabPane.startDragAndDrop(TransferMode.ANY);
                    /* put a string on dragboard */
                    ClipboardContent content = new ClipboardContent();
                    content.put(DataFormat.PLAIN_TEXT, tabPane);
                    db.setContent(content);
                    event.consume();
    What is the proper way to insert the content of the tab as object? Into the tutorial simple text is transferred. How I must modify this line content.put(DataFormat.PLAIN_TEXT, tabPane);?
    And what is the proper way to insert the tab after I drag the tab:
    Destination
    tabPane.setOnDragDropped(new EventHandler<DragEvent>()
                @Override
                public void handle(DragEvent event)
                    /* data dropped */
                    /* if there is a string data on dragboard, read it and use it */
                    Dragboard db = event.getDragboard();
                    boolean success = false;
                    if (db.hasString())
                        //tabPane.setText(db.getString());
                        Tab tabC = new Tab();
                        tabPane.getTabs().add(tabC);
                        success = true;
                    /* let the source know whether the string was successfully
                     * transferred and used */
                    event.setDropCompleted(success);
                    event.consume();
    I suppose that this transfer can be accomplished?
    Ref javafx 2 - How to drag and drop tab nodes between tab panes - Stack Overflow

    I would use a graphic (instead of text) for the Tabs and call setOnDragDetected on that graphic. That way you know which tab is being dragged. There's no nice way to put the Tab itself into the dragboard as it's not serializable (see https://javafx-jira.kenai.com/browse/RT-29082), so you probably just want to store the tab currently being dragged in a property.
    Here's a quick example; it just adds the tab to the end of the current tabs in the dropped pane. If you wanted to insert it into the nearest location to the actual drop you could probably iterate through the tabs and figure the coordinates of each tab's graphic, or something.
    import java.util.Random;
    import javafx.application.Application;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.Tab;
    import javafx.scene.control.TabPane;
    import javafx.scene.input.ClipboardContent;
    import javafx.scene.input.DragEvent;
    import javafx.scene.input.Dragboard;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.TransferMode;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class DraggingTabPane extends Application {
      private static final String TAB_DRAG_KEY = "tab" ;
      private ObjectProperty<Tab> draggingTab ;
    @Override
      public void start(Stage primaryStage) {
      draggingTab = new SimpleObjectProperty<>();
      TabPane tabPane1 = createTabPane();
      TabPane tabPane2 = createTabPane();
      VBox root = new VBox(10);
      root.getChildren().addAll(tabPane1, tabPane2);
      final Random rng = new Random();
      for (int i=1; i<=8; i++) {
        final Tab tab = createTab("Tab "+i);
        final StackPane pane = new StackPane();
          int red = rng.nextInt(256);
          int green = rng.nextInt(256);
          int blue = rng.nextInt(256);
        String style = String.format("-fx-background-color: rgb(%d, %d, %d);", red, green, blue);
        pane.setStyle(style);
        final Label label = new Label("This is tab "+i);
        label.setStyle(String.format("-fx-text-fill: rgb(%d, %d, %d);", 256-red, 256-green, 256-blue));
        pane.getChildren().add(label);
        pane.setMinWidth(600);
        pane.setMinHeight(250);
        tab.setContent(pane);
        if (i<=4) {
          tabPane1.getTabs().add(tab);
        } else {
          tabPane2.getTabs().add(tab);
      primaryStage.setScene(new Scene(root, 600, 600));
      primaryStage.show();
      public static void main(String[] args) {
      launch(args);
      private TabPane createTabPane() {
        final TabPane tabPane = new TabPane();
        tabPane.setOnDragOver(new EventHandler<DragEvent>() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              event.acceptTransferModes(TransferMode.MOVE);
              event.consume();
        tabPane.setOnDragDropped(new EventHandler<DragEvent>() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              final Tab tab = draggingTab.get();
              tab.getTabPane().getTabs().remove(tab);
              tabPane.getTabs().add(tab);
              event.setDropCompleted(true);
              draggingTab.set(null);
              event.consume();
        return tabPane ;
      private Tab createTab(String text) {
        final Tab tab = new Tab();
        final Label label = new Label(text);
        tab.setGraphic(label);
        label.setOnDragDetected(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Dragboard dragboard = label.startDragAndDrop(TransferMode.MOVE);
            ClipboardContent clipboardContent = new ClipboardContent();
            clipboardContent.putString(TAB_DRAG_KEY);
            dragboard.setContent(clipboardContent);
            draggingTab.set(tab);
            event.consume();
        return tab ;

  • Use drag and drop to sort data in report

    Hello!
    I found a good description to sort data in a Tabular Form per drag and drop.

    Here is the url: Read Article - Drag &amp;amp; Drop tabular form rows
    It works fine if one follow the hint from Baki (For apex 4.2 one have to adapt a css class).
    Afterwards I tried the same with an Interactive Report. It nearly works.
    I once again had to adapt a css class.
    I used the
    apexir_WORKSHEET_DATA
    class instead of the
    uReportStandard
    in the JavaScript for the Interactive Report.
    Everything went fine. Except the "Save the Thing to the DB" issiu did not work.
    The following code do not work (the "APEX_APPLICATION.G_FROWID.COUNT" is allways 0):
    FOR i IN 1 .. APEX_APPLICATION.G_FROWID.COUNT 
    LOOP
    UPDATE emp SET sort_order = i WHERE rowid = APEX_APPLICATION.G_FROWID(i);
    END LOOP;
    Does anybody know why?
    Best thanks,
    Ilb

  • Drag and drop ????

    hi all.
    i have a quick question about drag and drop.
    is it possible to drag a text file on the windows desktop into a jtextarea of an application, and display the file.??
    thanks for your time.
    Paul

    Yes, I would say it is. You need to add the correct listeners to the Panel that contains the text area, and when the right sort of file comes in, you open it, put the data into a StringBuffer and add that to the text pane. Here's a code snippet:
    import java.awt.dnd.*;
    import java.awt.datatransfer.*;
    public class MyPanel extends JPanel implements DropTargetListener
      /** drop action has been changed by drop target */
        public void dropActionChanged(DropTargetDragEvent dtde)
            // must implement
        /** dragdrop entered this panel */
        public void dragEnter(DropTargetDragEvent dtde)
            // must implement
        /** dragdrop exited this panel */
        public void dragExit(DropTargetEvent dte)
            // must implement
        /** dragdrop dragging over this panel */
        public void dragOver(DropTargetDragEvent dtde)
            // must implement
        /** dragdrop dropped on this panel */
        public void drop(DropTargetDropEvent dtde)
            Transferable t=dtde.getTransferable();
            try
                DataFlavor[] dataFlavors=t.getTransferDataFlavors();
                dtde.acceptDrop(DnDConstants.ACTION_COPY);
                System.out.println(dataFlavors.length);
                for(int i=0;i<dataFlavors.length;i++)
                    System.out.println(dataFlavors.getRepresentationClass().toString());
    if(dataFlavors[i].getRepresentationClass().equals(Class.forName("java.util.List")))
    java.util.List list=(java.util.List)t.getTransferData(dataFlavors[i]);
    for(int j=0;j<list.size();j++)
    if(m_frame.doLoad(list.get(i).toString()))
    dtde.dropComplete(true);
    return;
    break;
    dtde.dropComplete(true);
    catch(Exception e)
    Messages.javaException(e);
    The line with 'm_frame.doLoad()' is where I've detected a suitable, file, and go off to open it

Maybe you are looking for

  • Clarification regarding RFC destination

    Hi Ramesh, Thanks for your information, can you please tell me do we need to create port and logical system name for creating RFC destination. Thank siva

  • Intermittent freezes while recording

    Hello. While recording with Adobe Audition, there are intermittent freezes. As a result, there are sections in the recording where there is no sound at all. Here is an image of the wave: http://img177.imageshack.us/img177/548/auditionaf6.jpg I am usi

  • Data collection and exportin collected data.

    So, I need to be able to find a app or web app that will work with Ipad/Iphone that I can collect data while Im in the field and when I return to my PC I can sync the info to have it poplulate a pre-existing PDF document. Is there such a way to do th

  • How to handle Investement Management Account (IMA)?

    Hi, Our client engages in Investment Management Account arrangement with a bank where in; Under an IMA arrangement, the Principal (our client) transfers and delivers to the Investment Manager (bank) a sum of money which the latter shall manage, inves

  • Bc4j-deployment When Deploying data web bean

    When I m deploying bc4j components which are using data web bean it is giving error in the function webbean.doStartTag() all other jsp files are running fine which are not using any data web bean. I 'll apreciate any answer to this query. regards ana