Refresh dragProxy in List component built-in drag & drop feature

Hi,
I'm using the built-in drag & drop feature of the List component. Everything works fine except one thing. The itemRenderer I use in my List contains many TextInput that the user can fill. The problem is when I drag an itemRenderer to reorder my list, the dragProxy of the itemRenderer doesn't show the text I enter in the TextInput; it shows the original state of my itemRenderer.
Is there any way to update the dragProxy to reflect the changes made in the itemRenderer ?
Thank you!
Matetnic

If editable=true, the user's changes should be saved to the dataprovider when the drag starts.  The dragproxy renders whatever is in the dataprovider item
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • No drag&drop features in HTML5

    Hi community
    Do you know if the drag&drop feature that I know from the Silverlight version of C4C (may release) is available in the HTML5 version.
    It could be used for adding employees or products to objects like opportunities or leads. Right now it seems to be disabled in august release.
    I very much appreciate any comment.
    Thanks
    Sebastian

    Hi community
    Do you know if the drag&drop feature that I know from the Silverlight version of C4C (may release) is available in the HTML5 version.
    It could be used for adding employees or products to objects like opportunities or leads. Right now it seems to be disabled in august release.
    I very much appreciate any comment.
    Thanks
    Sebastian

  • Drag & drop feature missing from konsole in kde 4.7

    In kde 4.6 and previous release, konsole support drag & drop the selected string in konsole and do copy paste.
    Since upgrade to kde 4.7, this feature gone. Any one know how to enable it or it's a bug?

    Thanks for the tips. But I still don't like that way.
    I will keep my archlinux froze at kde 4.6 tile I have time to change my habit.

  • Permanent list of duplicates using drag & drop with iPhoto 11

    Every time I drag and drop a photo into iPhoto 11 from a website or other source, I'm asked if I want to also add every other photo I've ever dragged and dropped in. I can opt not to import duplicates, but is there a way to clear out or avoid this ever-growing list?

    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    If it does then look inside that folder on your desktop. Does it contain anything you want? If not you can trash the folder.

  • BEx Drag & Drop Features.

    Dear All,
    My co uses SAP BW with Cognos as the web reporting tool, where one of the product is "Analysis Studio". This studio has the feature where an user can create his own report by the simple use of 'Drag and Drop' methodology.
    Does BEx has such feature?
    If yes pl. let me know the process ot use the same.
    Thanks in anticipation.
    KS

    I think I have not been able to specify what I require:
    Normally any user is not authorized to create or change any query and it is "Read Only".
    But the feature I am looking for is:
    The query designed is available for the end user and only the minimum features of selecting the dimensions and key figures is available for the user to drag and drop the required dimensions and key figures to create his own report without having to funnel his requirement to the IT dept.
    In doing so he should be able to use the filters and the formatting techniques normally available for any excel sheet.
    This feature if available will prompt a user to create a report as per his requirement and take required decisions quickly.
    KS

  • Program in Dock Not Opening 'Drag & Drop' Files

    Recently my dock icon for Photoshop has stopped opening files when I drag a list of images onto it. None of my other dock Applications seem to be having this problem and still open any document or photo I drag onto it. I love the drag&drop feature and use it all the time; not having it has been quite irritating. Any ideas?

    If you restored your system you may have lost this:
    "/Library/ScriptingAdditions/Adobe Unit Types"
    If you do not have it you can't drag 'n drop in Photoshop. Adobe recommends a reinstall, which is insane. You just need to create the ScriptingAdditions folder in the root level Library folder and put the "Adobe Unit Types" file inside it. Note there is NO space in the folder name. As a public service I keep a copy of it here:
    http://homepage.mac.com/francines/pdfs/AdobeTypes.zip
    This is from the CS1 version of Photoshop, but it should work. If not, since Adobe doesn't perform that simple service, you will need to reinstall.
    Francine
    Francine
    Schwieder

  • [JSP] Drag & Drop and OrdHttpUploadFile...

    Is it possible to create a "drag & drop" feature that get a file from desktop to browser and adapt it to an Oracle Multimedia OrdHttpUploadFile object?
    Looks like the OrdHttpUploadFormData.*getFileParameter* only get a parameter there is in a input "file" control in the form, but I can't set a value to it programmatically, even with JS.
    So there's a way to do something like it?
    Thanks in advance.

    I am guessing you are using an ImageIcon to put the image into the JLabel. I would suggest creating your own version of "ImageIcon". In the interface Icon, the paintIcon method gives you access to the component which is your JLabel. You can get the size of this and draw the image to fit the components size. getIconHeight/Width() should work ok if you just return the initial size that you want the icon to be.
    Another option is to extend JPanel and override its paint method. This would give you direct acces to paint whatever you want, and you can resize your image accordingly when the size changes.
    As far as the flashing goes, you might want to post code (use [ code ] [ / code] tags). There might be something there that someone will see.

  • LR 2.1 & 2.0 ~ DRAG & DROP not working correctly with  photos when moving, applying keywords

    Today this issue started, originally in 2.0, updated to 2.1 and issue continues.
    Issue: DRAG & DROP feature with mouse (or pad on laptop) will select multiple photos, (with CTRL & SHIFT key as typical with Windows machines)but when I try to move them to a different folder, or drop them onto a keyword, it will not work.
    Specifically, I select two photos to move to a different folder, the selection work, but when I try to "grab" the selected photos, Lightroom defaults to One Photo, and it will not grab it to move it. However, I can "right click" on the intended folder and can select "move selected photos to folder" and that works. This issue also applys to assigning keywords, and I would assume other similiar actions. I should note, that I can "rotate", assign "labels", "stars", and Keywords from Keyword sets, it just happens with the "Drag & Drop" feature.
    Help
    The feature works correctly in other Windows programs, so I'm sure it's related to Lightroom and not the mouse.
    I have a Windows Vista machine, 3GB RAM 160GB HD, ~ 75% free space, AMD Turion X2 Dual Core 70 Processor. Everything has worked fine up until this morning.
    Prior to upgrading to 2.1, I optimized my Catalogue. Everything seems to work fine except this feature.
    Help

    Drag by the actual image area of the thumbnail, not the surrounding 'fake slide' cell.
    That's a feature of Lightroom's grid view. Clicking on image area of thumbnail keeps the multiple selection and makes the image clicked the primary select. Clicking on the outer thumbnail area deselects all but the active image.

  • Drag drop images while composing the forum post

    Hi All,
    Many time I felt like it would be good if we can drag drop images to the forum post being composed.  Similar to Gmail compose, if NI forum composition page also has that drag drop feature, it would be great.  But I'm wondering if it's only me or other people are also out there looking for this feature.
    Thanks,
    Ajay.

    Francois,
    I have tried to implement this bean but I'm having problems. I've been using your
    LAF package for almost 4 years now without issue. I tried the jar file from the zip
    file. I also created a new project and recompiled the java code against the 10.1.2.3
    frmall.jar file that matches our app server. I resigned it and it's still not working.
    Maybe I'm just missing something simple. When I compile and run the form, I see
    the canvas and I can change the text fields, but I don't see how I can drag and
    drop items. Hopefully, you can think of something that can fix our problem. I would
    love to be able to use drag and drop functionality in an upcoming application.
    We're running the following versions:
    App Server: 10.1.2.3
    DB: 10.2.0.5
    JDev: 10.1.3.3.0
    Windows XP for the clients
    Windows Server 2008 for the servers
    Thanks,
    Jason
    Edit: I looked in my java console and saw that my issue was that we signed this jar file with a different certificate. I created a special config as Francois has suggested in another post and included only the DnD.jar file and it worked. However, I can't get the image or multi-line text areas to drag and drop. I'll keep poking around and see if I can figure out what's going on. The console seems to recognize when I'm dragging and dropping from all fields.
    Edited by: hanszarkov on Jun 27, 2011 12:58 PM

  • Drag & Drop, ALV or Table Control to Tree Control

    Hi Experts,
    If i want Drag & Drop feature in ALV or Table Control to Tree Control

    Hi,
      refer to the link below:
    http://help.sap.com/saphelp_46c/helpdata/fr/22/a3f5fbd2fe11d2b467006094192fe3/content.htm
    With luck,
    Pritam.

  • List Component : Dragging position marker

    If you setup a basic List component and add support for
    dragEnabled and custom drop handling with a custom itemRenderer i
    have come across the following issue.
    When you drag an item within a ListBase (List, DataGrid,
    etc..) component, you get a position marker showing you where you
    are trying to drop the item. Somehow during my customization
    process of the List component this marker no longer appears.
    Does anyone know what it is called?
    Is there a class that i can use within my custom itemRenderer
    to bring this functionality back.??
    Any help would be appreciated!
    Thanks, Dustin

    When I test this in Firefox, I get the following error message:
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::SimpleButton@115ec431 to fl.controls.Button.

  • Drag and Drop List Component?

    Does anyone know how to use the v2 list component to let a
    user drag items from one list to another?
    Thanks in advance.

    No one knows of a tutorial for this?

  • Sumneva drag drop plugin - auto refresh?

    Hi all,
    I'm quite happy with the functionality of the following plug-in
    http://www.apex-plugin.com/oracle-apex-plugins/region-plugin/sumneva-drag-and-drop-report_36.html
    However I was wondering if it might be possible to refresh the region after each drag/drop action?
    I am experimenting with updating other columns under certain conditions, and it would be helpful to see the results after each movement. At the moment the page needs to be refreshed.
    I've tried adding this to the end of the update event, but I realise there may be a limiting factor within APEX
    ajaxCall = null;     
    apex.jQuery('#!'||p_region.static_id||q'!_sortable').trigger("apexrefresh"); // my codeCheers,
    Scott

    I realise the re-order only is not what I'm after. I would like to have two levels where the user can drag children between parents - but parents stay parents and children stay children. Essentially reordering and regrouping.
    @Tom - why do you think checking the move is valid would be difficult? Are you talking about the jQuery required, which seems like the examples do already; or interacting with the database first?
    @Joni - I've been doing some further reading and I wonder why you rendered the tree using htp, since APEX utilises jsTree for it's tree component. Is it because it uses an earlier version?
    I also thought it could be rendered using a List with a custom template.
    I wonder because I tried adapting an coding sample to see how it would interact
    $(function () {
      $("#my_tree div.tree")
        .jstree({ "plugins" : ["themes","html_data","ui"] })
        // 1) if using the UI plugin bind to select_node
        .bind("select_node.jstree", function (event, data) {
          // data.rslt.obj is the jquery extended node that was clicked
          alert(data.rslt.obj.attr("id"));
        // 2) if not using the UI plugin - the Anchor tags work as expected
        //    so if the anchor has a HREF attirbute - the page will be changed
        //    you can actually prevent the default, etc (normal jquery usage)
        .delegate("a", "click", function (event, data) { event.preventDefault(); })
    });but I received
    Uncaught TypeError: Object [object Object] has no method 'jstree' this errorScott

  • In Flash CS4,How can I give a AS3 List Component a suitable horizontalScrollBar

    In Flash CS4 when an AS3 List Component has too many rows,it will has a verticalScrollBar automatically. but it will never has a horizontalScrollBar even a part of the content of the list is hidden.
    I set the property  list.horizontalScrollPolicy="on",and set list.maxHorizontalScrollPosition=200; then the horizontalScrollBar appear
    but when I click the item of the list, all the list move to left, half of the list is hidden,
    I can only see the right part of the list, the I click the list again,the list move to right,then I can see all the list by move the horizontalScrollBar
    How can I give a suitable horizontalBar to the AS3 list component?

    Thank you for your help! (sorry,I`m bad in English...)
    In fact, it works.
    but,I made a mistake,the reason I want to give a list a horizontalScrollBar is:I want to show all content in a list that is not wide enough,
    you see,first row can show all content in this list,but in the other rows,the content is too wide to show,I want to give the list a horizontalScrollBar to show all content by draging the horizontalScrollBar to right.
    now,set property:
    list.horizontalScrollPolicy="on", list.maxHorizontalScrollPosition=30;(the result is the image above),when I drag the horizontalScrollBar to right:
    ah ha ,the row can`t show all content too,the horizontalScrollBar is related to the width of all the list, is not related to the width of the content in every row.
    now I kown why the horizontalScrollBar is always disable.
    but in design,to show a lot of content,we can`t draw  a list too wide, it`s not beatiful,so I want to use a horizontalScrollBar to show all content in every row.
    and the list is not too wide
    ah ah,  like the list in Flex4
    In fact,ah,I have not studied Flex 4,so,I have to make it by using Flash CS4 Component
    How can I do? Please
    (so sorry for my bad English,I do my best in it)

  • Video, XML and List Component

    Hello all,
    I have this code that is suposed to take my simple little XML
    file and populate it into a List component which in turn when an
    item is click it will play the video assigned to it. I have a
    custom player built and it works perfectly when I just load in one
    movie by hard coding its path into my AS, however when I load the
    XML in it only will play the first movie in the list, and will not
    load in any other movie when selected.
    My code is below. anyone that can help it would be greatly
    appreciated. The XML code is at the bottom.

    funkysoul,
    First thanks for taking a look at what I have. To answer your
    question yes I have changed the start up movie in the Array (i.e.
    from 0 to 1 or 2 or 3) and it does play that movie first, but again
    when I click to load in another movie it does not play anything
    else.

Maybe you are looking for