Solution: To solve 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 of our application created in Step 1.
Step 5: Write the below function in the demo.jsf page. The function should be inside the af:resource tag created in Step 4.
Step 6: Drag and drop Client Listener from the component palette on top of the button created in Step 3. We will get the below Popup.
Click OK and Save the application.
Thus the complete demo.jsf code is shown below:
Step 7: Save and Run the application. The demo.jsf page in the browser will look like below:
Hence, the solution to our requirement.
Thanks & Regards,
108 total views, 1 views today