LOV Validate from list Issue!!!

When the form is in 'Enter_Query' mode, the lov will not validate information entered into the fields. When I cancel the query, the information entered in the fields is then validated against the lov correctly. Is there a way to remedy this?
I did set the validate_from_list property to true and it had no effect.

Validate_From _List property is only helpful during data entry.  During enter-query mode, the user is searching records using a qualifier.  If the user wants to make sure that his qualifier is valid, he should press the function key to display the LOV.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • LOV validate from list

    Hello there,
    What factors can be performed for don't validating from list, when having a text item conected by a botton which calls the LOV?
    My problem is that I conect properly the text item to the LOV and the LOV to the Record group. At the text item's properties palette, i put YES when asking if validate from list. However, in an enter-query mode, when i insert 'AAA' into the text item, and change the focus, the LOV doesn't appear.
    Why?
    Thanks to everyone who helps me.
    Sorry for my english, i am spanish.

    Those other forms use a different form of querying. They probably never go into Enter Query mode, and instead simply query with a where clause something like:
        WHERE column_1 = :control_block.item_1 and...
    All the forms I write use that format. The user is never allowed to do an Enter Query. They simply enter the control block values (which may or may not have an LOV attached), and then press the Query button.

  • Validate from list, do not open lov if value already in lov

    Hi,
    I have an item and want to validate value from Lov because do not need a code in w-v-i trigger. i set property validate from list for the item to yes but when executing the lov opened even if i entered a value which already exists in lov. i thought that validate from list to yes triggers the list only if value do not exist in the list. i do not want list to open if value already exists in the list. Can someone help me with this? Thanks for your ideas.
    Edited by: Tabit7 on 2011-04-08 23:24
    Edited by: Tabit7 on 2011-04-08 23:24

    It only opens the Lov when the value not not unique, e.g. you have two equal entries in the lov. Also be aware that the validation is done against the first visible item in the lov.

  • Validate from list pops up the LOV

    Hi, everybody.
    I have a text item attached to a LOV and the validate from list property is set to YES.
    Despite this, i just write into the text item the text '01' .
    Anytime i use go_block('my_block') the LOV pops up and asks me to choose again the value for my text item from the LOV .
    Is this because my text item is connected to the first column of the LOV and
    the first column of the LOV has more than one values of '01' in the list, more than one record that has the first column '01'.
    In case this is the reason, how can i solve this to avoid poping up of the LOV.

    Ok.But all i want to do, is not to show my LOV.
    If i set validate from list=NO, my LOV doesn't show.
    I still want to validate from list but only in the cases when i put a value that is not in the LOV.
    in this case i put a value that actually is in the LOV, so the LOV should not show.
    I don't understand why LOV shows when the value i put in the text item is equal to one of the values of the LOV, only that the LOV contains this value more than one time.

  • Validate from list problem

    I have a form in which i have a non-database item.I attached a LOV to it and have set the validate from list to yes..
    but in enter-query mode the list is not getting shown when the value is typed(ie the lov is not shown when the user enters wrong value.validation is not hapenning)
    i have even written key-listval.inside which i have given list_values still the LOV is not shown
    Any suggestions to get the LOV???

    Hi,
    You can try to use the when validate-item trigger, which executes when the cursor navigates out of an item, this happens when user press the tab key to navigate to the next item or when clicking in a different item.
    Validate from LOV works without any additional code when the form is in normal mode.
    When the form is in enter-query mode this won't work, try the key-next-item trigger instead.
    check out the forms online help section:
    "About defining triggers to fire in Enter Query mode" for more info.
    Regards,
    Hugo

  • Validate from list behavior ? help needed

    Hi,
    I have an item whith a lov attached to and the proerty of the lov is validate from list = yes.
    But when a create a record and type the begining of the words eg Jean then when i do key-list-val or F9 the lov returns me all the rows and.
    And when i press enter in the field then the lov shows with Jean% and show me only the names beginning with Jean.
    Why does it only happen when i press enter and not when doing F9?
    Should it not be the same behavior ?
    Thanks in advance.
    PS: it is quite urgent !
    Jean-Yves

    Hi ,
    When you enters a wrong value into a "Validate from List" Item and hit <ENTER> then validation to make sure that the entered value exists within the List and if it is not there , then the forms engine filters the Shows values as the value entered into the Item as helping you to select from the List cause you have entered ambigious Choise and in case no matched entries it display all the list , but in case you display the LOV normally this means you are trying to select a value then no Pre Serach happened unless you specify (Filter Before Display = true) on the LOV properties ,
    Best Regards,

  • Validate from list

    Hello everybody !!
    I've a Lov attached to text-item with validate from list property "yes". I fill the text-item who has the lov attached and lov works very well , but when I create another record the trigger "when-validate-record" fires and the lov validate once again for the same record. How can I avoid this ?
    Hugs
    Rômulo

    You probably set the name of the country in the POST-QUERY trigger. If so, set the status of the trigger record to QUERY_STATUS after doing this.
    Regards,
    Torsten

  • Forms 6i: Dynamically set Validate from List property

    Hi,
    Is there any API to set the VALIDATE FROM LIST property for an item with an LOV in Forms 6i?
    Thanks

    you can use set_item_property to do that dynamically. Look in the help for the values of the built-in

  • Validate from List Property

    i created a form and used validate from list property to TRUE for a particluar item which have LOV.But when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? If any one hve any idea about this Please help me...
    Edited by: pms on Sep 11, 2011 10:31 PM

    But when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? Yes, this is common when you have a lot of rows returned by your LOV query. In situations like this, it is best to try and reduce the size of the data returned by your LOV. One way of doing this is to enable the Filter Before Display property on the LOV. When enabled, it causes Forms to display a query criteria dialog before displaying the LOV. This too can cause slowness because this option could cause a full table scan to occur. Perhaps a better option would be to make your LOV dependent on other limiting values. For example, if your Form showed a list of all employees in a company you could make your user select limiting data like a department number to help reduce the number of employee records returned by your LOV.
    Craig...

  • Validate from list (Oracle Forms)

    Hi all,
    Does anybody know, how to simulate "Validate from List" functionality from the oracle forms with JDeveloper 10.1.3.
    The case is for example (Empl, Dept), I want to create a table for the empl showing the empl info plus department name and allow the user assign the empl to a given department using only the name and not the department id.
    Many thanks in advance.
    Edited by: user5772728 on Feb 20, 2009 8:56 AM

    Hi,
    there is no list validator like this I am aware of.
    Frank

  • Validate from List property of dynamically attached LOV

    Dear Oracle Gurus,
    I have multi record block , the fields are Argument_name,Argument_Code ,argument_lov
    displaying two fields . data is populated at run time
    user has to input for the argument_value according to the argument_name displayed
    it may look like
    Argument_name Argument_value
    Date of Join User has to input
    Branch office user has to select from a LOV
    Dept User has to select from a LOV
    the LOV's underlying Select statement will fetch data from a table based on other field Argument_Code
    The LOV is attached dynamically for each row based on a value for the field argument_lov value will be Y or N
    IF value for a argumet is Y , the LOV is attached with SET_ITEM_PROPERTY in the When NEW RECORD INSTANCE Trigger
    when user moves to the argument Date of join there will be no lov and the user has to type out the data
    whereas for the argument Branch Office , user can select from a LOV
    now the user has to press the F9 key to invoke the Lov and then select
    whereas we wanted in this way.. that the user can type the first character and the value automatically get selected
    if the user types wrong data then the LOV to be displayed
    For this we used the SET_ITEM_PROPERTY with VALIDATE_FROM_LIST, Property_true in the same trigger.
    we have record validation trigger at the block level .
    But it didnt work out exactly when ever the user moves from a record having LOV after selecting. the other field which is not having a LOV displays a lov with values belonging to another field and asks to select from the list . For example the date of join field displays the lov for dept and asks to input
    please guide me in this regard
    with warm regards
    ssr

    But when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? Yes, this is common when you have a lot of rows returned by your LOV query. In situations like this, it is best to try and reduce the size of the data returned by your LOV. One way of doing this is to enable the Filter Before Display property on the LOV. When enabled, it causes Forms to display a query criteria dialog before displaying the LOV. This too can cause slowness because this option could cause a full table scan to occur. Perhaps a better option would be to make your LOV dependent on other limiting values. For example, if your Form showed a list of all employees in a company you could make your user select limiting data like a department number to help reduce the number of employee records returned by your LOV.
    Craig...

  • Change validate from list property at runtime

    I am added below code in when-validate-trigger. But it is not working. Please do the needful.
    IF :PARAMETER.PARTY = 'N' THEN
         set_ITEM_property('B1.GJM_PRTY_CODE',lov_name,'LV_INS');
         SET_ITEM_PROPERTY('B1.GJM_PRTY_CODE',VALIDATE_FROM_LIST,PROPERTY_TRUE);
    ELSE
         set_ITEM_property('B1.GJM_PRTY_CODE',lov_name,'LV_INS');
         SET_ITEM_PROPERTY('B1.GJM_PRTY_CODE',VALIDATE_FROM_LIST,PROPERTY_FALSE);
    END IF;
    I am assigning :PARAMETER.PARTY := 'N' in when-new-form instance.
    I am changing :PARAMETER.PARTY valure when one button usrer press.

    902434 wrote:
    I am added below code in when-validate-trigger. But it is not working. Please do the needful.
    IF :PARAMETER.PARTY = 'N' THEN
         set_ITEM_property('B1.GJM_PRTY_CODE',lov_name,'LV_INS');
         SET_ITEM_PROPERTY('B1.GJM_PRTY_CODE',VALIDATE_FROM_LIST,PROPERTY_TRUE);
    ELSE
         set_ITEM_property('B1.GJM_PRTY_CODE',lov_name,'LV_INS');
         SET_ITEM_PROPERTY('B1.GJM_PRTY_CODE',VALIDATE_FROM_LIST,PROPERTY_FALSE);
    END IF;
    I am assigning :PARAMETER.PARTY := 'N' in when-new-form instance.
    I am changing :PARAMETER.PARTY valure when one button usrer press.test u'r parameter value inside the condition, how it is behave then u will understand what to do ...like
    IF :PARAMETER.PARTY = 'N' THEN
    message(:PARAMETER.PARTY);
    message(:PARAMETER.PARTY);
         set_ITEM_property('B1.GJM_PRTY_CODE',lov_name,'LV_INS');
         SET_ITEM_PROPERTY('B1.GJM_PRTY_CODE',VALIDATE_FROM_LIST,PROPERTY_TRUE);
    ELSE
    message(:PARAMETER.PARTY);
    message(:PARAMETER.PARTY);
         set_ITEM_property('B1.GJM_PRTY_CODE',lov_name,'LV_INS');
         SET_ITEM_PROPERTY('B1.GJM_PRTY_CODE',VALIDATE_FROM_LIST,PROPERTY_FALSE);
    END IF;hope this will help you

  • Validate Form List Propert of an Item

    Hi all,
    i have Problem in AR Module , when i Enter the Invoice in AR i Select the Memo Line and then go in an other Line and use the key Shift+F5 on Description Field and enter same Memo Line , but the Problem is it does not enter Memo Line id and Record is Save , i need to Set Validate from List Property on Permently basics True but it does not update the Property Permently.
    Thanks

    Unfortunately, I have no code. But if you search this forum you will find examples of how to loop through the elements in a list item. As each element is retrieved you can execute an update or insert into the desired table. This code can go inside a pre-commit trigger.

  • I need to validate Input List Of Values Field when Inserted From Bean

    I've two view object EmployeeView and DepartmentsView
    In Employee View I've changed Department_Id to Input List OF Values
    I've created a bean to inset data into Employee Table
          ApplicationModule am = ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
          ViewObject importedVO = am.findViewObject("EmployeesView");
    try {
                newEmp.setEmployeeId(new Number("3424));
                newEmp.setFirstName("Test Fname");
                newEmp.setLastName("Test Lname");
                newEmp.setEmail("[email protected]");
                newEmp.setPhoneNumber("4643131345");
                newEmp.setJobId("AD_VP");
                newEmp.setDepartmentId(new oracle.jbo.domain.Number(999));
                 } catch (Exception e) {
                // TODO: Add catch code
                System.out.println("inside Catch");
                e.printStackTrace();
            }I know that ADF validate Input list of values when inserting new value on it
    when I've enabled the debugger I've found that
    <ViewObjectImpl><buildQuery> [604] SELECT DepartmentsEO.DEPARTMENT_ID,         DepartmentsEO.DEPARTMENT_NAME,         DepartmentsEO.MANAGER_ID,         DepartmentsEO.LOCATION_ID,         DepartmentsEO.ISDELETED FROM DEPARTMENTS DepartmentsEO WHERE ( ( (DepartmentsEO.DEPARTMENT_ID = :vc_temp_1 ) ) )
    <ViewObjectImpl><bindParametersForCollection> [605] Bind params for ViewObject: [com.test.model.views.DepartmentsEOView]AppModule.__LOCAL_VIEW_USAGE_com_test_model_views_EmployeesEOView_DepartmentsView_findByVC_12_LOV_DepartmentId_lov__filterlist__vcr___
    <OracleSQLBuilderImpl><bindParamValue> [606] Binding param "vc_temp_1": 999
    <ViewObjectImpl><processViewCriteriaForRowMatch> [607] VCs converted to RowMatch:  ( (DepartmentId = :vc_temp_1 ) )
    <ViewRowImpl><handleListBindingMismatch> [608] No matching row found for list binding:LOV_DepartmentId for ViewRow:oracle.jbo.Key[34235 ]
    <ViewRowImpl><handleListBindingMismatch> [609] --- filterList ValueMap key:DepartmentId, value:999
    <DCBindingContainer><internalRefreshControl> [610] **** refreshControl() for BindingContainer :com_test_view_testInsertPageDef
    <JUCtrlHierNodeBinding><release> [611] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_2, value:EmployeesViewIterator
    <JUCtrlHierNodeBinding><release> [612] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_2, value:EmployeesViewIterator
    <DCIteratorBinding><releaseDataInternal> [613] Releasing iterator binding:EmployeesViewIterator
    <ApplicationPoolMessageHandler><doPoolMessage> [614] **** PoolMessage REQ ATTACH LWS
    <ApplicationPoolMessageHandler><doPoolMessage> [615] **** PoolMessage REQ DETACH LWS
    <DCJboDataControl><initializeApplicationModule> [616] (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode = Immediate
    <DCBindingContainer><internalRefreshControl> [617] **** refreshControl() for BindingContainer :com_test_view_testInsertPageDef
    <DCBindingContainerState><validateToken> [618] Process BindingContainer state token(decompressed state):BCST:=0%V%=NEmployeesViewIterator=-D-,
    <this means that ADF tries to validate the input list of values "Department_Id" and didn't found any match
    I need to through exception when I try to set Department_ID with invalid value "value not on range" like
    newEmp.setDepartmentId(new oracle.jbo.domain.Number(999));I don't want to validate it manually as I've a lot of fields.
    I need to through exception when try to
    newEmp.setDepartmentId(new oracle.jbo.domain.Number(999));

    Thanks Timo
    this is the code that I use
          ApplicationModule am = ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
          ViewObject importedVO = am.findViewObject("EmployeesView");
          EmployeesEOViewRowImpl newEmp = (EmployeesEOViewRowImpl)importedVO .createRow();
          importedVO .insertRow(newEmp);
    try {
                newEmp.setEmployeeId(new Number("3424));
                newEmp.setFirstName("Test Fname");
                newEmp.setLastName("Test Lname");
                newEmp.setEmail("[email protected]");
                newEmp.setPhoneNumber("4643131345");
                newEmp.setJobId("AD_VP");
                newEmp.setDepartmentId(new oracle.jbo.domain.Number(999));
                 } catch (Exception e) {
                // TODO: Add catch code
                System.out.println("inside Catch");
                e.printStackTrace();
            }

  • Issue : drag and drop from list control to tree control

    Hi,
    I was trying a drag and drop from list control to tree control. I have used some sample data to populate list and tree controls .
    It is working fine . except one problem ..
    Prob : when i drag an item to tree control .. it gets added .. now tree contains (X+1) data in list .. say X is the inital number of nodes in a tree node.
              now if i drag another item from list to last item in the tree node  .. i.e at X+1 index. .. it throws null pointer exception.
    I am considerably new in flex programming . looking for help from experts ..
    Below is my code :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="horizontal"
                    creationComplete="init()">
        <mx:Script>
            <![CDATA[
                import mx.controls.listClasses.IListItemRenderer;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.utils.ObjectUtil;
                import mx.collections.ICollectionView;
                import mx.core.UIComponent;
                import mx.managers.DragManager;
                import mx.events.DragEvent;
                import mx.controls.Alert;
                import mx.controls.Label;
                import mx.events.CloseEvent;
                private var homePath:String="/home/e311394/dndTest/";
                private var destPath:String="/home/e311394/dndDest/";
                private var eid:String="e311394";
                private var actn:String;
                [Bindable]
                private var cm:ContextMenu;
                private var cmi:ContextMenuItem;
                [Bindable]
                private var dp:ArrayCollection;
                private function init():void
                    cmi=new ContextMenuItem("Remove");
                    cmi.enabled=true;
                    cmi.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contextMenuItem_menuItemSelect);
                    cm=new ContextMenu();
                    cm.hideBuiltInItems();
                    cm.customItems=[cmi];
                    cm.addEventListener(ContextMenuEvent.MENU_SELECT, contextMenuItem_menuSelect);
                    list.contextMenu=cm;
                private function contextMenuItem_menuSelect(evt:ContextMenuEvent):void
                    list.selectedIndex=lastRollOverIndex;
                private function contextMenuItem_menuItemSelect(evt:ContextMenuEvent):void
                    var loclSelectedRow:Object=list.selectedItem;
                    var lostrSelectedMenuItem:String;
                    lostrSelectedMenuItem=evt.target.caption;
                    if (loclSelectedRow != null)
                        var obj:Object=new Object()
                        obj.label=loclSelectedRow.label as String;
                            //Alert.show(obj.label);
                    if (lostrSelectedMenuItem == "Remove")
                        if(loclSelectedRow!=null)
                        var pth:String=homePath.concat(loclSelectedRow.label);
                        //Alert.show(pth);
                        //FlexDnDRemoteService.process(eid,"delete",pth,"-"); 
                        var coll:ArrayCollection=list.dataProvider as ArrayCollection;
                        if (coll.contains(loclSelectedRow))
                            coll.removeItemAt(coll.getItemIndex(loclSelectedRow));
                public function onTreeDragEnter(event:DragEvent):void
                    event.preventDefault();
                    DragManager.acceptDragDrop(event.target as UIComponent);
                    tree.showDropFeedback(event);
                protected function onTreeDragOver(event:DragEvent):void
                    event.preventDefault();
                    event.currentTarget.hideDropFeedback(event);
                    try
                        var index:int=tree.calculateDropIndex(event);
                    catch (e:Error)
                        DragManager.showFeedback(DragManager.NONE);
                        return;
                    tree.selectedIndex=index;
                    var draggedOverItem:Object=tree.selectedItem;
                public function onTreeDragExit(event:DragEvent):void
                    event.preventDefault();
                    tree.hideDropFeedback(event);
                private function showAlert():void
                    Alert.yesLabel="Move";
                    Alert.noLabel="Copy";
                    Alert.buttonWidth=70;
                    Alert.show("Copy / Move ?", "Confirm", Alert.YES | Alert.NO | Alert.CANCEL, this, alertListener, null, Alert.OK);
                private function alertListener(eventObj:CloseEvent):void
                    var result:Boolean=false;
                    if (eventObj.detail == Alert.CANCEL)
                        //Alert.show("CANCEL");
                        return;
                    if (eventObj.detail == Alert.YES)
                        //Alert.show("YES");
                        result=true;
                    else if (eventObj.detail == Alert.NO)
                        //Alert.show("NO");
                        result=false;
                    var index:int=tree.calculateDropIndex(treedropevt);
                    //Alert.show("Drop Pos" + index.toString());
                    /* var treeList:ArrayCollection=tree.dataProvider as ArrayCollection;
                       Alert.show(" index"+index+"Length "+treeList.length);
                       if(index > treeList.length)
                       Alert.show("Returning");
                       return;
                    var items:Array=new Array();
                    if (treedropevt.dragSource.hasFormat("items"))
                        items=items.concat(treedropevt.dragSource.dataForFormat("items") as Array);
                    var parentItem:Object;
                    parentItem=getObjectTarget();
                    /* if (tree.dataDescriptor.isBranch(tree.indexToItemRenderer(index).data))
                       parentItem=tree.indexToItemRenderer(index).data;
                       else
                       var dropParentPackage:Object = tree.mx_internal::_dropData.parent as Object;
                       Alert.show("HAck"+dropParentPackage.toString());
                       parentItem=tree.getParentItem(tree.indexToItemRenderer(index).data);
                       //Alert.show("Lenght "+ObjectUtil.getClassInfo(parentItem).properties.length);
                    //Alert.show("Lenght "+ObjectUtil.getClassInfo(parentItem).properties.length);
                    var position:int=0;
                    /* if(ObjectUtil.getClassInfo(parentItem).properties.length==0)
                       Alert.show("Returning");
                       return;
                    if (parentItem != null)
                        try
                            while (tree.indexToItemRenderer(index).data != parentItem)
                                //Alert.show(tree.indexToItemRenderer(index).data.toString());
                                if (index > 0)
                                    index--;
                                //Alert.show("Insiade");
                                position++;
                        catch (e:Error)
                            Alert.show("Catch" + index.toString());
                            return;
                    for each (var item:Object in items)
                        var obj:Object=new Object()
                        obj.label=item.label as String;
                        if (parentItem != null)
                            //Alert.show("ADDED");                       
                            tree.dataDescriptor.addChildAt(parentItem, obj, position++);                       
                        else
                            //Alert.show("PARENT NULL");
                            tree.dataDescriptor.addChildAt(tree.selectedItem, obj, position++);                       
                        var spth:String=homePath.concat(item.label);
                        //Alert.show(spth);   
                        var dpth:String=destPath.concat(item.label);
                        //Alert.show(dpth);
                        if (result == true)
                            removeItems();
                                //FlexDnDRemoteService.process(eid,"move",spth,dpth);
                        else
                            //FlexDnDRemoteService.process(eid,"copy",spth,dpth);
                        tree.validateNow();
                public function getObjectTarget():Object
                    var dropData:Object=tree.mx_internal::_dropData as Object;
                    if (dropData.parent != null)
                        return dropData.parent;
                    else
                        // if there is not parent (root of the tree), I take the root directly
                        var renderer:IListItemRenderer=tree.indexToItemRenderer(0);
                        return renderer.data;
                public function removeItems():void
                    //remove moved elements
                    var items:Array=treedropevt.dragSource.dataForFormat("items") as Array;
                    var coll:ArrayCollection=list.dataProvider as ArrayCollection;
                    for each (var item:Object in items)
                        if (coll.contains(item))
                            coll.removeItemAt(coll.getItemIndex(item));
                private var treedropevt:DragEvent;
                public function onTreeDragDrop(event:DragEvent):void
                    treedropevt=event;
                    showAlert();
                    event.preventDefault();
                    tree.hideDropFeedback(event);
                public function resultHandler(event:ResultEvent):void
                    Alert.show("Success", "Status");
                public function faultHandler(event:FaultEvent):void
                    Alert.show(event.fault.faultString, "Failure");
            ]]>
        </mx:Script>
        <mx:ArrayCollection id="listDP">
            <mx:Object label="File1.dnd"/>
            <mx:Object label="File2.dnd"/>
            <mx:Object label="File3.dnd"/>
            <mx:Object label="File4.dnd"/>
            <mx:Object label="File5.dnd"/>
        </mx:ArrayCollection>
        <mx:Number id="lastRollOverIndex"/>
        <!--
             <mx:ArrayCollection id="treeDP">
             <mx:Object label="/home">
             <mx:children>
             <mx:Object label="dummy1.ks"/>
             <mx:Object label="dummy2.ks"/>
             <mx:Object label="e493126">
             <mx:children>
             <mx:ArrayCollection>
             <mx:Object label="/home/e493126/sample1.ks"/>
             </mx:ArrayCollection>
             </mx:children>
             </mx:Object>
             </mx:children>
             </mx:Object>
             </mx:ArrayCollection>
        -->
        <mx:ArrayCollection id="treeDP">
            <mx:Object label="/dndDest">
                <mx:children>
                    <mx:ArrayCollection>
                        <mx:Object label="sample1.ks"/>
                        <mx:Object label="sample2.ks"/>
                        <mx:Object label="sample3.ks"/>
                        <mx:Object label="sample4.ks"/>
                        <mx:Object label="sample5.ks"/>
                        <mx:Object label="sample6.ks"/>
                    </mx:ArrayCollection>
                </mx:children>
            </mx:Object>
        </mx:ArrayCollection>
        <mx:List id="list"
                 itemRollOver="lastRollOverIndex = event.rowIndex"
                 width="50%"
                 dragEnabled="true"
                 dataProvider="{listDP}"
                 labelField="label"
                 allowMultipleSelection="true"
                 dragMoveEnabled="false">
        </mx:List>
        <mx:Tree id="tree"
                 width="50%"            
                 dragEnabled="true"            
                 dataProvider="{treeDP}"            
                 dragEnter="onTreeDragEnter(event)"
                 dragOver="onTreeDragOver(event)"
                 dragExit="onTreeDragExit(event)"
                 dragDrop="onTreeDragDrop(event)"
                 labelField="label"
                 liveScrolling="true">
        </mx:Tree>
        <mx:RemoteObject id="FlexDnDRemoteService"
                         showBusyCursor="true"
                         destination="FlexDnD">
            <mx:method name="process"
                       result="resultHandler(event)"
                       fault="faultHandler(event)"/>
        </mx:RemoteObject>
    </mx:Application>
    Thanks,
    Rajiv

    Ya , i have searched and have used the same code.
    But needed to customize few things like:
    stop dnd in same tree
    drop some item into a folder ..( onto it ) etc
    have achieved the same .. but this issue ..
    i think the tree dataprovider (contents internally is not being updated .. only the UI)
    any suggestions ?
    - Rajiv

Maybe you are looking for