BUG - Drag and drop an image, only working at the 2nd try

I use the last version of JDeveloper : 11g R1 : 11.1.1.2.0
I try to drag and drop an image in a facet of a panelsplitter.
Once the page is loaded, the first time I try to drag the image, it does not work : the image does not follow the mouse.
When I try to drag the image again, then it works : the image follow the mouse
So I don't think it's related to the destination/target.
I feel it's so simple, since it just requires to add <af:componentDragSource/> inside <af:image/>
that if it does not work, it can only be a bug in the functionality offered by ADF ...
Or maybe there is something wrong with the generation of the page ?
I get this message in blue in the "running log of WebLogic" :
<FormRenderer><setupEncodingContext> Multiple forms detected on viewId: /myPage.jspx. Rich client currently has some limitations in dealing with multiple forms.
Please note that I use jsp:include inside f:subview to include fragments (.jsff) so that the source and the destination are not in the same file, the source in a .jsff while the destination is on the main .jspx
The code related to the drag and drop :
<af:form id="form">
<af:panelSplitter orientation="vertical" splitterPosition="70" id="psHeader" clientComponent="true">
<af:panelAccordion id="paPref" discloseNone="true" styleClass="fullSize">
<af:showDetailItem id="sdiTemp" text="Templates">
<af:panelBox>
<af:panelGroupLayout id="pglTemp" layout="scroll">
<af:panelList id="plTemp" rows="2">
<af:image id="imTemp2up" source="/images/anImage.jpg" inlineStyle="" shortDesc="...">
<af:componentDragSource/>
</af:image>
<f:facet name="second">
<af:dropTarget dropListener="#{dropHandler.handleComponentMove}" actions="MOVE">
<af:dataFlavor flavorClass="javax.faces.component.UIComponent"/>
</af:dropTarget>
Any idea ?
Thanks in advance,
JP

Hi,
no bug that I can detect here as it works for me with the same setup. How likely is it that the image is too small so that you don't grab it probably the first time?
Frank

Similar Messages

  • The drag and drop feature is not working on the touchpad

    My drag and drop stopped working on my macbook pro, the model number is the
    MB 13.3/2.4/2X1GB/250/SD/BL-KB-USA
    MB467LL/A
    The systems is runnng Snow Leapard, I have in the preferences, drag lock disabled, dragging enabled, the operating system is 10.6.8.
    I also reloaded the system disk, same issue.
    Any help would be appreciated.
    Thanks,
    Tom

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • When i drag and drop an image on my site. it gives the following error. "Unable to access local files due to browser security settings. To overcome this, follo"

    I am using the firefox version 17 and when i drag and drop an image on my website. It gives me the following error.
    Unable to access local files due to browser security settings. To overcome this, follow these steps: (1) Enter "about:config" in the URL field; (2) Right click and select New->Boolean; (3) Enter "signed.applets.codebase_principal_support" (without the quotes) as a new preference name; (4) Click OK and try loading the file again. Or go to the homepage for a link to the tutorial on how to do it.
    I have completed the above steps and it is still showing the same error message. Any help would be highly appreciated.
    Thanks.

    Thanks kumars ,
    I have a specific drag and drop area on our website. This works fine for all earlier releases of Firefox after these security settings
    "(1) Enter "about:config" in the URL field; (2) Right click and select New->Boolean; (3) Enter "signed.applets.codebase_principal_support" (without the quotes) as a new preference name; (4) Click OK and try loading the file again."
    Bust these settings not work for me in Firefox 17.
    Yes the drag and drop functionality is java script based and i am not using any script blocker addons.

  • Drag and Drop Feature is not working

    I have a mid 2012 MacBook Pro running 10.8.3 and all of a sudden the drag-and-drop feature isn't working. I was dragging photos from my job's website and adding them to a folder, but after about three photos in, it stopped working and no matter what I do it won't drop into the folder. How can I solve this?
    Thanks

    Can you drag anything into the folder, such as files from another folder?

  • Drag and drop feature is not working in Maverick?

    what can i do when the Drag and Drop feature is not working in my I Mac Using Maverick 10.9.4, it will not do it at all i must do copy and paste.
    reading from earlier forums this has been a problem in earlier versions for the mac.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Which Listener I should use if I drag and Drop an image/icon into a JPanel?

    Dar Friends:
    Happy new year.
    I try to drag and Drop an image/icon into a JPanel, and hope I can immediately detect it after DND,
    Which Listener I should use in this JPanel if I drag and Drop an image/icon into a JPanel??
    Thanks

    Thank camickr .
    I can dnd an image into a JPanel called JPanelOld already, I hope to use another JPanel or JTree to listen to any Dropped Image in JPanelOld later on so I can take some action in another JPanel or JTree.
    so what kind of Listener I should use for my purpose??
    where to add this Listeners??
    Happy New Year.

  • How to drag and drop href image from webbrowser to office using vsto c# wpf?

    I want to drag and drop href images from web browser to office using C# wpf. Is it possible to drag href images ? give me the solution

    Hi,
    Are you developing an Office Add-in application? Do you mean you hold a wpf Web Browser control in the Office Add-in project?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Drag-and-drop for image stacks

    I'd like to be able to drag and drop image stacks from one folder to the next. Currently, when I drag and drop it just grabs one of the images from the stack and leaves the others behind.
    I can expand the stack and then drag and drop all of them, but the stack itself is lost--I have to go to the destination directory and re-stack the images.
    Bart

    I've discovered (and its nowhere in the documentation as far as I can see) that if you select the bottom slide in a stack .. ie the bottom left hand corner of the "reperesenation of the lower slides" you can drag and drop the stack(s) in to another folder.
    Unfortunately they don't remain stacked ..Here's another vote for persistent stacks.
    Pete Roberts

  • Now that I have home share my drag and drop feature doesn't work to create playlists

    Now with Home Share there are two subsets of playlists.  One is on the hard drive of the acutual computer where the iTunes originated.  Once I am at a Home Share computer I cannot use the playlist feature.  I can CREATE a playlist and name it, but the drag and drop feature does not work for songs which are not directly located on this hard drive.  I can, for some reason, attach an iPod and make a list over on that, but that is all. 

    Because IE is running in a different user context. You cannot drag and drop anything from Explorer into a different user context. This isn't a "SharePoint" issue, as it relates to any application run as a different user.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • When I try to drag and drop to combine events in iPhoto, the drag accelerates out of control when it reaches the top or bottom of the screen. How can I slow it down?

    When I try to drag and drop to combine events in iPhoto, the drag accelerates out of control when it reaches the top or bottom of the screen. How can I slow it down?

    from iphoto  Help
    Album overview
    A photo album in iPhoto is just like one you would create with printed photos: It’s a collection of photos you select from your library and arrange in the order you want.
    You can create photo albums to:
    Focus on a particular subject, such as your favorite nature photos
    Group pictures that you want to send to a friend, post on a webpage, or burn to a CD or DVD
    Gather a decade of anniversary photos
    iPhoto has two kinds of photo albums:
    Standard photo albums: You create these albums (B, shown below) by selecting particular photos. You can add new photos by dragging them to the album (or using the Add To button), and you can remove photos at any time. All adding and removing is done manually; iPhoto doesn’t update standard albums automatically as you import new photos.
    Smart Albums: iPhoto creates these albums for you, based on criteria your specify. iPhoto then updates Smart Albums (A, shown above) for you as your library changes. For example, you could create a Smart Album containing:
    Photos of specific people, such as your family members. As you import new photos, iPhoto uses Faces to detect your family members, and automatically adds new photos of them to the Smart Album (after you’ve confirmed the matches in Faces).
    All the photos of your daughter taken on school field trips in third grade. Use Faces (to name your daughter) and keywords (to mark certain photos or events as “field trips”) to help specify the photos you want iPhoto to place in that Smart Album.
    Only photos taken with a specific camera, or photos matching other Exchangeable Image File (EXIF) information.
    You can make as many albums as you like, and you can include the same photo in several albums without making multiple copies of it.
    After you create an album, such as “Australia Adventures,” it appears in your Source list below Albums.
    In full-screen view, the album appears as a stack of photos below Albums.
    To further organize your library, you can group several albums (along with slideshows and projects) into a folder. For example, you could create a folder containing several years of birthday albums or a collection of albums with photos of your camping trips.
    To create a folder, see “Create a folder in the Source list and move items into it” in “Customize the Source list”.
    Folders appear only in the Source list, not in full-screen view.
    Note: A photo album is different from a photo book, which is a collection of photos you create to get professionally printed and bound. See this topic: Photo book overview.
    Copyright © 2014 Apple Inc. All rights reserved.
    LN

  • Cannot drag and drop in my playlist to rearrange the song order???

    I have created a playlist in my iTunes 10 and all I want to do is change the order up a bit, so that all the same artists are not lumped together.  Help says I should be able to just drag and drop to reorder my songs in the play list.  However, it won't let me do it.  What am I missing?

    By re-arranging the windows, this appears to work.
    i.e. left window to right window.

  • Drag and Drop error - icons are stuck to the cursor

    For the last few days when I try to use drag and drop, the items stick to the cursor and cannot be dislodged without a force quit or a reboot. That is they drag, but they do not drop. This is really sub-optimal.
    Has this happened to anyone else? How do I fix it?

    Idiot question - How do I re-install Leopard? No matter what I do, it kicks the disk out on restart. I have tried using the 'install' command on the disk, nothing. It kicks the disk out and boots from the hard drive. I have tried rebooting holding down the 'c' key to force it to read from the drive, it still kicks the disk out and boots from the hard drive. What else should I do?
    I researched back further and found another thread where people were complaining of the same drag and drop issue: http://discussions.apple.com/thread.jspa?messageID=6446208
    Someone suggested a solution involving permissions. I fixed my permissions. Drag and drop is still not working.
    There was also a set of commands to type into terminal that would supposedly fix the issue, or perhaps it was a Spotlight issue that the thread had morphed into. I did that. Drag and drop is still not working.
    Am I just totally hosed? Help!

  • Drag and Drop: Moving or Copying when droping the item ?

    Hello,
    I'm trying to use the drag and drop feature on a JTree. The problem is that depending on wether I'm moving or copying an item, I need to do something different when I'm dropping my item (I have some database id to generate if I'm copying). The only problem is that in the importData method of the TransferHandler Class, I do not have the information of wether I'm moving or copying my item.
    I would need something like :
    public boolean importData(JComponent component, Transferable t, int action);And I only have:
    public boolean importData(JComponent component, Transferable t);Am I misunderstanding something with the drag and drop mechanism ?
    Is there a solution to get this "action" information ?
    I tried to subclass the DropTargetListener class of the TransferHandler, but I couldn't because of private attribute.
    Does anybody has a clue ?

    Hello,
    I'm trying to use the drag and drop feature on a JTree. The problem is that depending on wether I'm moving or copying an item, I need to do something different when I'm dropping my item (I have some database id to generate if I'm copying). The only problem is that in the importData method of the TransferHandler Class, I do not have the information of wether I'm moving or copying my item.
    I would need something like :
    public boolean importData(JComponent component, Transferable t, int action);And I only have:
    public boolean importData(JComponent component, Transferable t);Am I misunderstanding something with the drag and drop mechanism ?
    Is there a solution to get this "action" information ?
    I tried to subclass the DropTargetListener class of the TransferHandler, but I couldn't because of private attribute.
    Does anybody has a clue ?

  • I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help

    I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help.  I have spent several hours trying to figure it out on my own but have not been successful.  It seems like an easy task.  Can anyone help?

    dewin1or wrote:
    I want to extend the length of the song by repeating the first 28 measures.
    split the region at the 28th measure
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    then select only the first region and option-drag it to the end of the song

  • Images from my i-pad, stored in i-photo, will randomly refuse a drag and drop attempt. I can move the image to the desktop, and from there to the document (mail etc.) and it will work (display image). As I mentioned, these events are random. ....Help !

    When executing a drag and drop from i-photo to a document, occasional, random, images will refuse  drop onto the document. The work around is to drag the offending image to the desk top, and from there to the document.
    Question:  What is causing these random "rebel" images to misbehave ?

    It is better to use export or to use the media browser form the target program
    See this user tip for details on accessing your photos
    LN

Maybe you are looking for

  • Column headers in SQLPLUS query

    Hi I am running a simple SQL query in SQLPLUS, and I want the column headers to appear just once at the top. If I set the 'SET PAGESIZE' to 50000 (which I thought was the max) it repeats the column headers evert 50000 lines. If I set 'SET PAGESIZE 50

  • SSL SOAP Adapter Error - SSLException while handshaking -

    I'm receiving the following error in a SOAP receiver adapter over https: ssl_debug(9): Sending v3 client_hello message, requesting version 3.1... ssl_debug(9): Received alert message: Alert Fatal: unexpected message ssl_debug(9): SSLException while h

  • Zen Nano Plus Price Drop; Are they dumping these due to problems? Worth buyi

    The GB Nano Plus is only $70; $60 for GB Nano. This is on Creative's own website as well as Amazon.com http://us.creative.com/shop/shopcategory.asp?category=23 The specs are everything I want in a device for running / mtn biking / hiking. There's onl

  • Component which handles the service which prevent File's Duplicate Entries

    Can any one help me out, that which service and which class files handles the service to restricts the check-in of same file in the same folder. and also tell me how it is done.(I mean to say that which method or what concept has been used to check f

  • Driver for Samsung ML-1675 OSX 10.9.1

    Hi, can anyone write me where I can found the driver for the printer Samsung ML 1675 to use with my new MacBook withe OSX 10.9.1?