This tutorial will explain creating new application, new pages, and navigation cases. It will display
Explain you event generated on a command button .It will be redirected to new page(.jspx) and display a message. I hope it will clear the basic understanding navigation and business component.

1. Open Jdeveloper and right click on project and select new. Under Web tier tab select JSF.

11

2. A create JSF and JSP wizard will open and give name to your .jspx page press next. Here we can select JSF(.jspx) and JSP page.

2

3. Click next and add ADF libraries. And select finish.

3

4. A blank Test2.jspx will open.

4

5. In WEB-INF folder under web content open face-config.xml .Drag and drop 2 JSF page to face- config file .Give name test2 and test3.jspx.Then drag and drop the “JSF NAVIGATION CASE” and place it from test2.jspx to test3.jspx .Replace success to navigation in JSF NAVIGATION CASE. For generating the PopUp window we can write this as “-dialog:naviagtion”. Make user window property to true and test3,jspx will displayed as popup page.

5

6. Save your application and go to test2.jspx .Drag and drop one command button on page and rename to “Next page” from property palette under text property. In action property select
“navigation “ .It will redirect to test3.jspx .

6

7. In the face-config.xml file double click on test3.jspx. Create JSF JSP wizard will open. Click next and press finish.

8. Drag and drop one outputText from component palette on test3.jspx.Change the value property of outputText to “Hello World”.

7<img

9. Save your application and run the application.Test2.jspx will open.

8<img

10. Click on next page.Test3.jspx will open and “HELLO WORLD ” will displayed.

9

This is all about this hello world application. Later I will explain about more complex issues in ADF. Please review this and give your valuable comments.

Vinay

I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube

  • Pingback: PimpThisBlog.com()

  • Netra

    My page is not gettign displayed ..It gives page can not be displayed

  • One slight correction. if one is using adf to make these pages, double click on the jspx pages one has made in the faceconfig.xml to create the blank jspx page as it default makes an jsf page. In case one wants to create a page seperately, slect jsf pages and not jsp page. Else one has to include tag in the tags in jspx page and insert faces/before the *.jspx page in url.

  • Ravi Kanth

    Nice Article. It worked for me.

    • Baluda

      I am getting this error:
      Error initializing server: IO Error: The device is not ready

      Can you please help?

      Regards
      baluda

  • vinay

    Please explain where u getting this error.Which device is not ready.thn only i can help u

    • Sun

      Hello, I get the same error, beacuse the path to EAR file is different. I saw this when I choise Tools->Embedded OC4J preferences -> Application -> bc4j.

      How can I set the correct path??

  • Santhosh

    Hi

    this is very nice article, i loved it.
    And do you have any tutorial guide like oaf tutorial guide? if yes share with above mail id.
    I have some doubts, can you please clarify me
    1. and in case of oaf, first we were finding the patch file and we are doing some setups like classpath and dbc file configurations, so like that do we need to setup any thing for adf enterprise application?
    2. and which version of jdeveloper i need to download to build the adf enterprise application?

    Regards
    Santhosh Kumar. K
    OAF Consultant.
    Hyderabad

    • Well you can download the ADF developer guide from Oracle.com only.

      1. Well don’t know about the patch file.but for ADF you need to download the Jdeveloper and configure database connection for creating VO and EO same as OAF.
      2. The above tutorial is on jdeveloper 10.1.3 . But now you should use Jdeveloper 11.1.* .

      If you specificaly looking for some tutorial tell me i will try to post on techartifact.com. you can contact me on [email protected]

  • Santhosh

    It’s very nice to understand and implement. I Like It