This content has been marked as final. Show 4 replies
Drag and drop operations update the list/tree dataProvider. To persist the data, use the dataProvider to send the state to the server. The choice of visual control is irrelevant in this context.
Flex does no direct work on the server. Some middle tier is necessary, like PHP, CF, .net, JSP, Java, etc.
Communicate with that tier using one of the RPC protocols: HTTPService, WebService, RemoteObject.
The issue is this: when the data is dropped on a target of List or Tree, how to get notified?
mx.controls.ListBase has a bunch of protected default drag handlers, but it does not dispatch any further events once data is dropped. So, the question is, what's the best practice to get this data-drop event, so I can ...?
You can get all the dnd events. In fact, you must create handlers for these for anything but the default behaviors. "dragComplete" is probably the one you want.
This is correct, I can override dragCompleteHandler() to do my own things before calling the super's. In my case, my actions will act upon the currentTarget rather than this.
Thanks for the reply,