Declarative and Programmatic Popup
Declarative and Programmatic Popup
Now I am explaining about how to create Popup
declarative and Programmatically.
First creating New Application.
I have
developed model part Business Components
Select
database schema HR
Entities
View Objects
Application
Module
Refresh data
controls
Coming to View Controller
Select view controller and right click new jsf – ADFTaskflow
Drag and
drop one view in component pallet to give name as popup.jsff
Drag and
drop employeeviewobject to UI in data control
Drag and
drop one button to popup.jfss page in component pallet give name as popup
Drag and
drop showpopupBehavior in button
Drag and drop one popup
Drag and
drop one panel window in popup
I am drag
and drop employeesview1 in win
as a form
I am giving popup id to showpopupBehavior component
And give ContentDelivery :
Immediate
Now create
one main page drag and dorp to task flow in main
Then run for see output
This is
Declarative Popup Output when I click popup button than opened popup
Here I am
explain about how to open popup in Programatically
Create one
more view page name as proPopup.jsff
Adding one
button name as ProPopup
Create New
Bean
I have drag
and droped popup
Drag and
drop panel window in popup
Giving
binding in popup
Drag and
drop departmentview in panel window as a form
public void proPopupButtonACL(ActionEvent
actionEvent)
{
// Add event code here...
RichPopup.PopupHints a = new
RichPopup.PopupHints();
this.getProPopupBinding().show(a);
}
This
is final output
Comments
Post a Comment