Drag&Drop Custom Data?

Hello, my fellow JavaFXsians :)
I'm trying to implement a Drag&Drop of an Object. But, as you could guess, I'm not really successful. I'm being hit with the +"java.lang.IllegalArgumentException: Only serializable objects or ByteBuffer can be used as data with data format [model.jfxwrappers.VezaDjetetaWrapper]"+ exception. Why is this wrong:
DataFormat dataFormatVDW = new DataFormat("model.jfxwrappers.VezaDjetetaWrapper");  //A Class
myListView.setOnDragDetected(new EventHandler<MouseEvent>() {
    @Override
    public void handle(MouseEvent dragEvent) {
        Dragboard db= myListView.startDragAndDrop(TransferMode.COPY);
        ClipboardContent content= new ClipboardContent();
        content.put(dataFormatVDW, db);
        db.setContent(content);
        dragEvent.consume();
I've read that the model.jfxwrappers.VezaDjetetaWrapper has to be Serializable, so it is. What am I missing, please?

Oh, I'm embarrassed. :) Yes, that was the error, but now I'm having some other difficulties.
When I tried D&D after making the appropriate change suggested above, I've got some more exceptions. First it was:
java.lang.IllegalArgumentException: Could not serialize the data
     at com.sun.javafx.tk.quantum.QuantumClipboard.putContent(Unknown Source)
     at javafx.scene.input.Clipboard.setContent(Unknown Source)
     at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.NotSerializableException: javafx.beans.property.SimpleObjectProperty
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
     ... 40 morebut then I've commented out the SimpleObjectProperty (although I've made it's value Serializable as well) and got this exception:
java.lang.IllegalArgumentException: Could not serialize the data
     at com.sun.javafx.tk.quantum.QuantumClipboard.putContent(Unknown Source)
     at javafx.scene.input.Clipboard.setContent(Unknown Source)
     at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.NotSerializableException: javafx.beans.property.SimpleStringProperty
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
     ... 40 moreI'm using JavaFX 2.2b06 and presuming that these properties are indeed Serializable (although I couldn't find a confirmation in the API) don't know what could it be.
The only change I've made in my code listed above is this:
content.put(dataFormatVDW, vezeDjetetaList.getSelectionModel().getSelectedItem());

Similar Messages

  • Drag-drop data column sorting

    Hey guys,
    Does any one know how to achieve drag-drop data column
    sorting? I tried, but could not find an efficient way to do this.
    It would be an awesome spry feature if possible, but if someone
    else knows how to do this already it would help.
    Thanks,
    Timothy D Farrar

    Hey guys,
    We aim to be as compatible as possible with the other
    frameworks but sometimes problem may exists. We need to see the
    crashing pages to be able to determine the causes for the JS error
    message and where the incompatibilities are located and either fix
    the problems or help you to change your pages to work.
    In this situation I suspect the issue appears because the
    spry region is generated after the drag and drop code from the
    script.aculo.us is instantiated and we destroy the initial elements
    to which this widget is binded. In this situation the solution is
    to instantiate the drag and drop after the region generate its
    content by using the region observers. You'll have to put the drag
    and into a separated function and register the code so the region
    will call it automatically onPostUpdate.
    We include in our documentation more details about the
    Region
    observer notifications. Please search the dedicated chapter
    inside this doc: "Region observer notifications"
    Regards,
    Cristian MARIN

  • Use custom component when drag&drop a VO as form

    Hi,
    Actually if I drag&drop a VO as form, jdevelopper suggest me, for each field, "Component To Use" : "ADF Input Text w/Label", "ADF Input Text", "ADF Output Text w/Label"..... I would like to suggest my custom components too. Is it possible?

    Hi,
    I don't think you could do that in a easier way (atleast AFAIK). You would need to create an extension to the IDE to achieve it.
    -Arun

  • How to drag component from data control palette and drop in a line of text?

    Hi,
    I am using JDeveloper 10.1.3.4 and get frustrated with my attempt to drag a component from the data control palette and drop it in a line of text in a .jspx page. What I need to accomplish is to display a line of text to the use on a page:
    Get clearance for the Spring 2009 semester.This is a line of static text except "Spring 2009" is the {color:green}Term{color} attribute of a view object dragged from the data control palette. I found that if I try to type some text on a page, as soon as I create a new line, a <f:verbatim> is created. So when I tryped the first part of the text, the code is:
    <f:verbatim>
    <p>
       Get clearance for the
    </p>
    </f:verbatim>Then drag-and-drop the bound data from the data control palette:
    <f:verbatim>
    <p>
       Get clearance for the
       <af:outputText value="#{bindings.Term.inputValue}"
                 binding="#{backing_student_printOrQuit.outputText6}"
                 id="outputText6"/>
    </p>
    </f:verbatim>And then add the last word:
    <f:verbatim>
    <p>
       Get clearance for the
       <af:outputText value="#{bindings.Term.inputValue}"
                 binding="#{backing_student_printOrQuit.outputText6}"
                 id="outputText6"/> term.
    </p>
    </f:verbatim>This looks OK in the Source tab. But in the Design tab the bound data jumps above the text line. Both the bound data and the <f:verbatim> appear to be block elements in the page. And so is it when the line is displayed in the browser:
    Spring 2009
    Get clearance for the term.How to overcome this problem?
    Thanks for sharing your experience.
    Newman

    Shay,
    Waht a surprise! Just now I had already finished typing the posting to tell that it did not work. I tried changing the original code to
    <f:verbatim>
    <p>
       Get clearance for the #{bindings.Term.inputValue} term.
    </p>
    </f:verbatim>and got the display:
    Get clearance for the #{bindings.Term.inputValue} term.I tried various ways, putting single quotes around the whole expression in single quotes, around part of it, using square brackets, ... I was going to click the "Post Message" button, but gave it one last try:
    <f:verbatim>
    <p>
       Get clearance for the ${bindings.Term.inputValue} term.
    </p>
    </f:verbatim>and I got it! --
    Get clearance for the Spring 2009 term.It was my gut feeling that I was quite close because the dot-separated hierarchy {color:green}bindings.Term.inputValue{color} looks right, only some tiny bit in syntax narrowly missing it. I was lucky.
    Thank you for the suggestion!
    Newman

  • Customer layout with drag-drop support

    Hi, all
    Evtim wrote a greate customer FlowLayout, and Maxim also have a nice customer Horizontal Multiline Layout, but they don't support drag-drop, so anyone could give some idea?

    I had worked out, see my post on StakckOverflow http://stackoverflow.com/questions/16101244/customer-layout-with-drag-drop-support

  • Custom component with drag&drop ?

    Hello everyone, I'm new to CQ5.
    I'm trying to develop a custom component that allows me to use drag & drop to drag an image from DAM to my component instead of having to insert the image in the component code. How can I do?
    Thank you!

    Content finder(cf) will list all the assets in dam.  Look at OOB image component to get an idea where in you can drag & drop assets from image (cf) into component.
    What different you are looking in custom component?
    Thanks,
    Sham

  • Get Drag Drop Data

    The HELP text for the GET DRAG DROP DATA function says this:
    "Only use this function when it is necessary to access the drag data, not just to examine the data type."
    Can anyone explain why this is?
    Is it costly, in terms of time, or memory, or something else?
    Is it destructive to the data ?
    Why?
    I have a situation where dragging ONE of something is OK, but dragging TWO or more is not, in certain circumstances.
    In other circumstances, dragging one or more is OK.
    So how do I detect (in the DRAG OVER event) whether the drag data has one or two items in it?
    If I change the DATA NAME to ITEM 1 or ITEM 2, then I don't know what name to look for when I do fetch the data.
    Do I create a different item called DRAG COUNT SINGLE or DRAG COUNT MULTIPLE and look for the existence of one or the other of those?
    I could use some outside-the-drag storage places, but that seems yucky - it's not self-contained.
    Ideas?
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    For the record, here's one way around the issue.
    At DRAG STARTING time, I compose the DRAG DATA NAME with a FORMAT STRING of "My Items %d", embedding the count in the name itself.
    At DRAG OVER or DROP time, instead of searching the AVAILABLE DATA NAMES for an exact match to a fixed name, I SCAN STRING on each available data name, using the same FORMAT STRING.  If I scan without error, then I have the number of items dragged and I can make appropriate decisions.
    Tech Support says that I might be reading the warning a bit too seriously anyway.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Output xml file from data in a drag/drop AIR app.

    I am interested in creating a WYSIWYG drag/drop AIR app. in
    which I can drag art and other components, then export the (x,y)
    positions of the components and other info into an xml file. I am
    interested in using .ai files instead of raster based art. Will
    Flex/AIR app. support this format? I am just starting to work with
    Flash, Flex, etc. Is this way over my head? Possible?
    Thanks,
    Nate

    I don't think you can manipulate .ai files in Flex /
    AIR.

  • 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

  • Quiz Template Guru Needed: 1) Target Symbols from Drag&Drop questions persist on subsequent questions!??

    I've been finding some anomalies when testing the movie, for
    instance the question regarding the BA degree keeps telling me the
    answer marked correct in the Component Inspector (# 6 American
    Urban) is incorrect; other times it seems one question contains
    part of another question's graphics, though I have scrupulously
    made sure there is no overlap frame by frame.
    I need someone with experience in quiz templates to go
    through this until you find anomalies like those mentioned above,
    and let me know if you have any idea what's causing them.
    You can download the .fla at
    http://mywebniche.com/test/FrontDeskTest.zip
    The test can be seen at
    http://mywebniche.com/test/FrontDeskTest1.html
    [Note: The Name Field's actionscript is also not working.
    When you enter your name on the first frame, it should appear on
    the results page -- doesn't. Any idea what's wrong there?]
    This is a real project and I really need help getting it bug
    free.
    Thanks.

    I have the solution. It is a bug in Flash for which I got
    them to find a workaround.
    If you ask me they don't spend nearly enought time/energy on
    Flash in education, particularly the quizzes, which have so many
    limitations and are lacking so many obviously needed features.
    I'll post their workaround below, but I want you, and all who
    read it to contact their feedback/wishlist for Flash and complain
    about their Quizzes getting short shrift. Features badly needed
    are:
    - Ability to randomize AND require certain questions to
    always appear.
    - options to enter name and have it appear on Results Page
    along with date and number of times the quiz has been re-taken.
    - the ability to have multiple true/false questions
    - better documentation on how to customize the template
    graphics and how to use original graphics
    - fix the drag & drop component permanently -- this is
    arguably the most useful question format of them all !
    - ability to save customized components -- as component
    templates
    - anything else you can think of that I haven't included here
    Here's the fix:
    1) in your movie, locate an instance of the Drag and Drop
    Interaction component and select it.
    2) Select Edit Symbols from the file menu (Edit > Edit
    Symbols) to edit the symbol
    3) The middle layer should be the Actions Layer.  Select
    frame 1 in that Actions layer and open the Actions panel
    4) Scroll to the bottom of the script and find the
    this.onUnload function located there.
    5) Use your mouse and highlight the contents of that
    function, not including the function name, and copy it.  You
    should have copied the following script:
     var clearLast =
    _parent.SessionArray[_parent.session].drag_objects;
     var len = clearLast.length;
     for(var i=0; i<len; i++){
      _parent[clearLast
    ].removeMovieClip();
    6) Return to the very top of the script and paste a copy of
    this script there prior to the comment stating:
    /*--------------VERSION CONTROL
    INFORMATION----------------------
    Note: You may need to make some room for the new script.
    What this should do is ensure that the unload script is
    called immediately upon the loading of a new drag and drop
    interaction component clearing any prior objects used in the one
    before it.  This was not happening appropriately before
    which is what was causing those dragged objects to remain on the
    screen.

  • How i can do a drag drop between container (grid)?

    I am trying to work out a task with Drag and Drop(WPF ,C#)to include in a demo ,i will explain easy showing an example of code in XAML 
    <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
    <RowDefinition Height="*"/>
    <RowDefinition Height="*"/>
    <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <Grid x:Name="container1" Grid.Row="0" >
    <Grid Name="grid1" Background="Aqua" Margin="15"></Grid>
    </Grid>
    <Grid x:Name="container2" Grid.Row="1" >
    <Grid Name="grid2" Background="blue" Margin="15"></Grid>
    </Grid>
    <Grid x:Name="container3" Grid.Row="2" >
    <Grid Name="grid3" Background="green" Margin="15"></Grid>
    </Grid>
    </Grid>
    My purpose is when the user drag the
    grid1 in the
    container2 automatically the grid2 will go to place in the
    container1 (basically I want to swap the grids) then this process will be used every time need to drag a grid in a container. with a code that i wrote down i can do a simple drag&drop  i can drag the "grid1"
    to the "container2" but cannot send back automatically the grid2 to container1.
    Kindly i ask if you have any advise or tips to make successful this task.
    Thank you so much for your attention
    Cheers!!!
    *********EDIT*********                                                                  
                                     Using this code as follow i can do the drag&drop but what really i need is the grid "container "is fix and never move just the
    "grid" should move between the "container "                                 
    <StackPanel Name="sp" AllowDrop="True" Background="SkyBlue" PreviewMouseLeftButtonDown="sp_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="sp_PreviewMouseLeftButtonUp" PreviewMouseMove="sp_PreviewMouseMove"
    DragEnter="sp_DragEnter" Drop="sp_Drop">
    <Grid Name="grid1" Background="Aqua" Height="120" Width="500"></Grid>
    <Grid Name="grid2" Background="Blue" Height="120" Width="500"></Grid>
    <Grid Name="grid3" Background="Red" Height="120" Width="500"></Grid>
    </StackPanel>
    private bool _isDown;
    private bool _isDragging;
    private Point _startPoint;
    private UIElement _realDragSource;
    private UIElement _dummyDragSource = new UIElement();
    public MainWindow()
    InitializeComponent();
    private void sp_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    if (e.Source == this.sp)
    else
    _isDown = true;
    _startPoint = e.GetPosition(this.sp);
    private void sp_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
    _isDown = false;
    _isDragging = false;
    _realDragSource.ReleaseMouseCapture();
    private void sp_PreviewMouseMove(object sender, MouseEventArgs e)
    if (_isDown)
    if ((_isDragging == false) && ((Math.Abs(e.GetPosition(this.sp).X - _startPoint.X) > SystemParameters.MinimumHorizontalDragDistance) ||
    (Math.Abs(e.GetPosition(this.sp).Y - _startPoint.Y) > SystemParameters.MinimumVerticalDragDistance)))
    _isDragging = true;
    _realDragSource = e.Source as UIElement;
    _realDragSource.CaptureMouse();
    DragDrop.DoDragDrop(_dummyDragSource, new DataObject("UIElement", e.Source, true), DragDropEffects.Move);
    private void sp_DragEnter(object sender, DragEventArgs e)
    if (e.Data.GetDataPresent("UIElement"))
    e.Effects = DragDropEffects.Move;
    private void sp_Drop(object sender, DragEventArgs e)
    if (e.Data.GetDataPresent("UIElement"))
    UIElement droptarget = e.Source as UIElement;
    int droptargetIndex=-1, i =0;
    foreach (UIElement element in this.sp.Children)
    if (element.Equals(droptarget))
    droptargetIndex = i;
    break;
    i++;
    if (droptargetIndex != -1)
    this.sp.Children.Remove(_realDragSource);
    this.sp.Children.Insert(droptargetIndex, _realDragSource);
    _isDown = false;
    _isDragging = false;
    _realDragSource.ReleaseMouseCapture();
    Thanks :)

    Hello Jonny,
    Currently I do not have a sample and I have reviewed this post and find another way which seems more reasonable. Have you cosidered use a ListView instead of common grid. It seems we can do what you want with two common grid however we need to hardcoded
    all the things.
    If we use ListView, for example, you can see this thread:
    http://stackoverflow.com/questions/20573063/creating-icon-view-mode-for-listview-wpf
    and this thread:
    http://stackoverflow.com/questions/9443695/how-do-i-drag-drop-items-in-the-same-listview
    We can drag and drop items instead of grid, which will make this programming much easier than hard code to switch your control's location.
    Best regards,
    Barry
    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.
    Dear Barry Wang thank you so much for your kind support ,just open me a way to do it ,you can see in this post https://social.msdn.microsoft.com/Forums/vstudio/en-US/55873851-e86c-4a20-9b00-de3419054ba8/get-stuck-to-dragdrop-in-this-case?forum=wpf .
    Wish you a Happy New Year .
    Sincerley

  • How can cocoa app get attachment in Drag & Drop email(s) from Mail?

    HI all,
    I would like to drag and drop one or more emails from Apple's Mail application to a cocoa application and have the cocoa application find the path to the attachments in those emails. If I drag & drop a message from Mail to Text Edit, it creates a link with the message subject. If I hold the pointer over the link in Text Edit, it shows the contents of the link, which has the form:
    message:%[email protected]%3E
    If I click that link, it opens a new Mail window with the message. None of that is the message number as shown in Mail's viewer window.
    I've also looked at what Pasteboard Peeker shows given a Drag & Drop from Mail. The above link data is from the public.url pasteboard type. Some of the others look interesting, but Pasteboard Peeker truncates the data read from the pasteboard, and the pasteboard types are probably nothing that we "supposed" to have access to since they have names like "Someone's super-secret pasteboard type". Any other ideas?

    Thanks, a brody.
    That tip takes me further down the field. And, I am able to do stuff like indent and change font color of my comments which is very helpful.
    However, the big disappointment is that by dragging the original message to the Draft mailbox and then back to the original one after the edits is that it removes the original sender's name and puts mine in along with changing the heading info on date and time. That is, it creates a new message, rather than allowing me to modify the original one to suit my needs.
    All the same, this was a very helpful tip. Thanks again.
    Anyone know of a plugin?..............or two?....

  • Bridge CS5 Windows crashes when I command/move or drag/drop files internally

    Bridge CS5 crashes with a Microsoft "report error" dialog whenever I drag images from one folder to another inside of Bridge, or use the right-click "Move To . . ." mouse command.  After months of successful use of the Bridge CS5, this behavior suddenly began.  Unfortunately, I can't now remember whether I did anything to my Windows environment at that time.  Bridge does not have trouble with dragging or command/moving files into Photoshop, but dragging image files (jpg) from a search screen or the Windows Explorer can also end in a crash.
    I'm running Windows XP SP3 32-bit on a 4-processor machine with adequate ram and lots of hard drive/scratch drive.  I deinstalled every trace of Bridge and reinstalled the upgrade 4.0.2.1, which makes me up to date. Working with Adobe Support I also cleared and uninstalled, and then reinstalled Photoshop, Bridge, etc. to fix some other problems.
    I have experimented with purging the Bridge cache for individual folders I was dragging from and to, but didn't purge all caches.  Typically, the crash appears a few seconds after dragging/moving a file - continuosly sucking-me into thinking things are at last repaired.  On occasion images are lost - i.e. really destroyed, or dropped into some limbo somewhere.
    I'd be truly grateful for any ideas to try, no matter how extensive or simple.
    Thanks!

    Hi Robert,
    I'm a developer from Br team. Thanks for reporting Br. problems.
    It seems like a memory issue. Please try this to help us identify the root cause:
    1. Disable all startup scripts (Edit->Preferences->Startup Scripts->Disable All), then restart Br.
    2. When Br is running, kill "SwitchBoard" process in task manager.
    3. When do Copy&Move operations, don't use Drag&Drop, try to use "Move To / Copy To" menu. (A known issue of Bridge, should be fixed in later versions)
    Does the crash still happens?
    Thanks very much!

  • Drag Drop List to List

    I have a source list and a destination list. I want to submit
    the contents of the destination list via my sendformdata function
    along with the other formitems.
    Here are my source/dest lists.
    <mx:VBox dropShadowEnabled="true">
    <mx:Label text="Available Loops"/>
    <mx:List id="srclist" width="300" height="150"
    allowMultipleSelection="true"
    dragEnabled="true" dropEnabled="true"
    dragMoveEnabled="true" labelField="category"
    dataTipFunction="myLabelFunc" showDataTips="true"
    alternatingItemColors="[#ece8ff, #ffffff]">
    </mx:List>
    </mx:VBox>
    <mx:VBox>
    <mx:Label text="Patched Loops"/>
    <mx:List alternatingItemColors="[#ece8ff, #ffffff]"
    id="destlist" width="200" height="150"
    allowMultipleSelection="true"
    dragEnabled="true" dropEnabled="true" dragMoveEnabled="true"
    labelField="category"/>
    </mx:VBox>
    user drags one or more items from the source to dest list.
    This works great.
    Now I need to pass the dropped/selected data in destlist to
    myobj, along with the other form items. How?
    <mx:Script>
    <![CDATA[
    private function sendFormdata():void {
    var myobj:Object = new Object();
    myobj.name = myname.text;
    myobj.email = myemail.text;
    myobj.entry = myentry.text;
    myobj.entrycomment = myentrycomment.htmlText;
    myobj.selectedcats= destlist.????
    cfdataInsert.addData({user:myobj})
    ]]>
    </mx:Script>
    Second part of my question is that I want the value of
    myobj.selectedloops to be a comma separated list of categoryid
    numbers (e.g. 1,3,5). My query, that populates the source list via
    the remoteobject contains categoryid,category, and description
    columns. I currently display the category in the labelField of the
    list, but I need to submit the categoryid to the DB.
    data comes from...
    <mx:RemoteObject
    id="cfdata" showBusyCursor="true"
    destination="ColdFusion"
    source="da8.Constellation.entries">
    <mx:method name="getCats" result="getCats_result(event)"
    />
    </mx:RemoteObject>
    getCats ColdFusion function...
    <cffunction name="getCats" access="remote"
    returntype="query">
    <cfset var CatData = "">
    <cfquery name="CatData" datasource="#DSN#">
    select categoryid,category,description
    from Categories
    order by category
    </cfquery>
    <cfreturn CatData />
    </cffunction>
    and then this function populates the srclist with the
    data....
    public function getCats_result(event:ResultEvent):void
    srclist.dataProvider = event.result as ArrayCollection;
    destlist.dataProvider =[];
    How do I pass the resulting destlist categoryids to
    myobj.selectedcats ?
    I don't know how the ArrayCollection organizes the query and
    how to reference the categoryid in the srclist and destlists.
    I'd appreciate any help.
    Thanks,
    Don

    SAP has lots of demo reports for drag and drop functionalities. Please check [Drag & Drop With the ALV Grid Control|http://help.sap.com/saphelp_erp2004/helpdata/en/22/a3f5fbd2fe11d2b467006094192fe3/content.htm]

  • I'm looking for a decent CRM app, so I can load my customer data base

    HI I'm looking for a CRM app or package, just started using my air for business and would like to have my customer data base with me handy
    for pulling up local customers and being able to enter some data sales related or just comments regarding conversations and topics talked about so I can follow up ect!
    any suggestions would be appreciated!
    thanks, Lee.

    Hi Lee what sort of database are you looking at also what sort of business do you run ?
    I have a CRM Package that is native to mac and pc and is built off of filemaker it is normally targeted at Recruitment businesses.
    Drop me a line if you wanna chat about it!
    Sammie

Maybe you are looking for