Requirement: Drag and Drop value from one af:output component into another af:output component in Oracle ADF.
Solution: For solution of the above requirement, follow the steps as shown below.
Step 1: Create an Oracle ADF Fusion web Application.
Step 2: Create a demo.jsf page in the ViewController project.
Step 3: Drag and drop two outputText separated by a spacer on the demo.jsf page.
Step 4: Insert Attribute Drag Source in the first outputText component. Select the Insert Attribute Drag Source as “value” from the drop down list as shown below:
Step 5: Insert Attribute Drop Target in the second outputText component. Select the Insert Attribute Drop Target as “value” from the drop down list as shown below:
Step 6: Save and Run the Application that is demo.jsf page. The output will be as below in the browser:
Step 7: Now drag outputFormatted1 value and drop it on top of outputFormatted2. As a result the value of the second component gets changes to outputFormatted1 from outputFormatted2 as shown below:
Hence, the solution to our requirement.
Thanks & Regards,
309 total views, 2 views today