Like any web application it is required to show pop up window in certain cases in ADF also. In ADF it can be shown in many ways. Like we can show popup using javascript, using taskflow using pop up component etc. Here I have discussed ADF's popup component for showing the pop up, the simplest one I think. To show popup I first made one web application with one test page.
I have added one command button. I will show the popup for buton action.
I have added one <af:popup> component in the page as shown below in the below page. Added one dialog in that popup window.
Now I want to show the popup window on button action so I have added <af:showPopupBehavior> inside the command button component.
In show popup behavior I have added the popup id and button action.
Now if I run the page and click the button it will show the popup window.
This popup window can be shown from managed bean also.
No comments:
Post a Comment