Open 'Oracle JDeveloper Studio' by double clicking on the icon.
 |
Select Studio Developer (All Features) and press 'Ok'. |
 |
Press 'Finish' |
We need to create a folder before creating page fragments.
 |
Select from gallery |
 |
Add a folder name and press 'Ok'. |
Then create page fragments.
Here we are studying the connection between two pages
therefore we need to create two page fragments.
 |
Change the file name and press 'Ok'. |
 |
At the components panel search 'panel box' then drag and drop a panel box
onto the page fragment. |
 |
Then drag and drop a button from the panel 'General Controls'. |
You can change the names of the button and the panel box at
the 'Common' tab.
 |
Then go to page flow in web content (in Applications tab) and create a
ADF Task Flow. |
 |
Drag and drop the two page fragments you created earlier on to the
ADF Task Flow. The fist page is highlighted in green while the other is not. |
 |
Select Control Flow Case from Components tab and draw arrows from
one page to the other, it shows the way that the buttons work when clicked. |
Then go to a page fragment you created before and tap on the
button once. Then from the Button.next.properties tab you
need to change the action of the button.
 |
Select Edit. |
 |
Change the scope name to pageFlow and press 'Ok'. |
 |
Then add a Method name |
Then go to a page fragment and double click on the button.
(Do this for both pages)
 |
Change return NULL to the String you provided for the control flow lines,
the name must be within double cotes("") because it's a String |
Now we need to create a page
 |
Click from gallery |
 |
Select JSF/Facelets from categories and select page |
 |
You add a name to the page. |
 |
Then drag and drop the task-flow-definition.xml on to the page created above
and select Region. |
 |
Right click on the page and click Run |
 |
A page opens in a browser. |
Click on next button
No comments:
Post a Comment