Open 'Oracle JDeveloper Studio' by double clicking on the icon.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9hd6pu2TEvSKDEvcNa4heJIUle8qDwpiDc37-SRmuRMIguXeqzFPqJSJtXU82Cn2BNfuKSyEUC2NURDoxoZWy0NfUWT7Jcfn5979c4C8Qk61a94pTfYd9qT3-TlSiL8LJKvfgqGMNYes/s400/1.png) |
Select Studio Developer (All Features) and press 'Ok'. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqW1OHBu2f3TSa2LhDJkTK3TACIRbzhUmgbVyPJXYyKiu6jWUnUsJN92-eujhB2gln-ZWWiBrAoFyiI02T7YfS_pX5i-qNkhlvUk1MoqLK698G8rwCQxZaiaWYESjEmZLXIld0g4I9bwI/s400/9.png) |
Press 'Finish' |
We need to create a folder before creating page fragments.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5befsoC_-rYc4TSz7z9SVKKY6whqSJbVP2RK0U7mSeGARGfSuG2v4GbIJvbk9R-YhpVW6Jo8qKrQrYk95Q6MwjmLt8SpZoZxNyJ1phCZGkhx9ByYSGpKyc2mVI3Qs6JW2VkwY8NcqCZ0/s400/17.png) |
Select from gallery |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5bEGbgRNg3ChqkjxihIlmeXke_NzXCJqd_-18jCUeYz6G4YcClH_w8wxjw3p9YvSn8OSm-IbVasBWbwvf1h-_ydDuGeFtsMwaVUcc5Sn9WJckraK-t4yGg-YxR7t0c9SlRMrtZmDhoy0/s400/19.png) |
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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidB0siPiIIyW27xlstgdXDy5RNBm602GFITEBpcdyIqz3jM0ajQmoSR9EajbqGjPUf8_WPVvIREWBseuw4t3Vz5leU5mWl4771sX8d7T6-AlnRGadQBk5hM4dBDWQntRafKwmqIl5tN1c/s400/21.png) |
Change the file name and press 'Ok'. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7FJ3xzPfWzUcqGg8YRkt57yrFnJCVlzb1ld8035OFmUIv-MrlBiQv-biNo0XXUvLIGfAUC1W7EklSIPgViQLzNQ5NVb8GlkXNY4fwLOHEcn_z2YAa7VBhQPEbGCrPH0Mbx6zYkYLSZq8/s400/23.png) |
At the components panel search 'panel box' then drag and drop a panel box
onto the page fragment. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIRcSxnkT9HT7zfWylfPT7QtXssH4pGsUHtgK1c9nSQFmFzr8U7JKhIoHAIHgfQsRFq2VIqu-5dGPApafKhslEzzxYeZ9ZctzrmYL5LlnEYNq4G6N-qJKrkJBxxW2qMR_i9-F8zbOHjD8/s400/24.png) |
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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBeGMKVdrHDX5i1qJRt0zBqnaHfAR-AOJw9SQdkelJabHK6pXNnRX9J7tjD3P-nBMbzyYu2itT6hyphenhyphenJEA5yO66cxbI7p4nuFkZ9Y7yBuR0o2mj9nTTFdBlNVu6oBSUwmagBKw4Yv8z6GHQ/s400/26.png) |
Then go to page flow in web content (in Applications tab) and create a
ADF Task Flow. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghIWTJ9C39oMXvOUCAh5GaqjNkRG0DGKohQMHuVOX3zkmhA0-RAfghPUNXtLgbH1nSOpryc_CQ9gFnzqyoGh2uJ2EfTYZTigwEC6CqZ8WHJMVPytRxQ4nmQEEDeEqS1_3nTGPNrgbzkoo/s400/27.png) |
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. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0RlTeXzYTQP0BgL8lMsBD1hoUzvooXwnBgQn-hWQ8GkratRWYIV8-fArz2-SHDqMVy4G-DaqjnA6r5n5lNItNh_J6cjL4Y5HD88uwXvpWhAWmb6hZ545lCsjPhKJQbM8pI6c3r1sV-4/s400/28.png) |
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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0F783Sbzp3B2gVpJrtuB0AZeTt9dHsfK09wJRmB3CKJpRgmq8OJ4l24nIte604oXrqVV0tg5jGuECUGWqRmyFNQcJGEL5hTo3rgw9WfBNzCKB5qJGZzjy4_4SrxMvmbsBDzFZmhP5yDc/s400/29.png) |
Select Edit. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCjVnc8i0Og8OR9d7Gpq_2cceqJa_TPlufPgboR5NvEkZ58S8bjmcKvcT5LvEg3zV6sGl_t4TLbQJsqadVjTnxSq8uC5HfE88KEzcIVOKj0G1khlzoq4PFsambNU6-r6JNR09-RZMCHJI/s400/31.png) |
Change the scope name to pageFlow and press 'Ok'. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi5Ld7jRTlqz2a2mjiLguw3vduYQSuGxRETJv5bRuPo6O8kQbohwIBdFRgBmYF8p6BwrSHpOF27FYnrLGLVm6Zxeip-wv_Kr__5HnE56uvInaK2K3Nt-pP_ixIZ0nyrk7RxxLaPg8aW8E/s400/32.png) |
Then add a Method name |
Then go to a page fragment and double click on the button.
(Do this for both pages)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0DOq8vafEAOcrnymuPqUGg0y2eE82CQW56x6DbR70QJMgTdyHAzbx6O1ZGDuKwMFDn7XlGU1PdW5OzYxAgygVtnOHY0TcbD2nc_UL1L1IxC93GRPPeVt7yp0OXXL7_xTk4ZZcgEcJXAM/s400/39.png) |
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
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbnL2UrEP2NAru7cUq2CXZe9zzrpVN7LkhSnwnK6psJSvgvSKpKYeD7Oy6w1v5Jy1fR28a4cxfR5mQxsU4-jvNgTn8x-RkFdEjXc0aMF6h_MCxbwk9mMaiglRHGiSPE8thMId5iSgIXn8/s400/33.png) |
Click from gallery |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0vQf9788tgFlrpD6CXfAk6d110mhnFJFFFN0C0BVCjrVYHzxJ6M-XMR-o1PeWFAAiVvSGpvJY3ScY33bVo8N3xGmqiTXUYloIZgJ-OyxAElR8YAntkAtMFcTtVTLH2vogN7_Mf_4jZxg/s400/34.png) |
Select JSF/Facelets from categories and select page |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiUVRikEPUc5IC7WgeLiIvMslVSeTjm2qe9BnI-evwHfNSdTXi-e0jWOHniu7MzLx2yjdsqOLgGgIQnIrmM1apCwa5dhCuH-j6ZLyQSa95OeQqbPdakglSPX91F2bY7ZcVg-9kA8O7zjw/s400/35.png) |
You add a name to the page. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghKbINJzwxid7WH4bMcfe-MD9edAiZp7fLO1LTqpnBWjbX_kmHqnSi-nmoJnFmzRcdG1kb3iY1o72O9basCdjqlVdVOXDEhzJdmMHohjQhBiRzWeC7OtgVObh98_DiUW4yboe5U4ZwOK8/s400/36.png) |
Then drag and drop the task-flow-definition.xml on to the page created above
and select Region. |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMBB1cL_aGNy6pgf71_OlmUHxmM3CNhLaW6UnsTuXtP8bXxN7OreqRbsCtlUKHO-zn7IXuV20uBh3AMaHoDK2-KvvouA972suirXDRqcEpii_y2j6JAfzMIwRUIwNuU3EJIxtk9wA2LCg/s400/38.png) |
Right click on the page and click Run |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv-zmnohJWkB39SK4DVM07up-lh27pL1aOg2v9aC0NjfHVx-p7vp5w1hUM03r-djXJQCH8LZoW4KcEWiWz2ieiibGf3kv__g3GI79f0WeU4JKYY2fI2neRCxkqHq3X6g5KrnEXm6iQ0HI/s400/41.png) |
A page opens in a browser. |
Click on next button
No comments:
Post a Comment