Friday 29 March 2013

Part2 Creating a simple Hello World Page in OAF



Part2 Creating a simple Hello World Page in OAF


Hi Friends , this is the Second and Last part of Creating POP List (List Item) in OAF Page. Here below is the First part of LOV creating in OAF Page.

Part1:- https://rpforacle.blogspot.in/2013/03/blog-post_10.html

Page has created as below




when you click the "RohitHelloWorldPage" Below structure pane has dispayed as below




Click on the region1.On the right hand side In the property inspector we  will set the AM for the this page.




On the right hand side click  in the property inspector click on the AM Definition as below

Select the Application Module.
Enter the Window Title and Title in the Property inspector of region1.




Right Click on the region1 and then new and then click  region




Then region2 has created.





















Right Click on "region2".Click new and then click item.

























Then Item1 has created as below








Now we create a Button in the Page for this Right click on the "region2".Click new and then click item.








Click on item2 and then go to the property inspector for this item.
Change the Item stype=submitButton.
 Prompt=Go




Now we have write a logic when the user click the button It will show some meesage in the screen .So we create a controller for this page.


Right click on the "region1" in the structure of the page.



Enter the Controller Name="RohitHelloWorldPageCO"
Package="rohit.oracle.apps.fnd.RohitHelloWorldPage.webui"

According to the OAF standard controller has creater under the webui of the project directory as shown above. Click Ok.






Controller has created.It contains two blocks.
1.Process Request.It fires when page Load.
2.Process Form Request.It fires when button pressed.





We will write the below code under the processFromRequest.

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
  {
    super.processFormRequest(pageContext, webBean);
  
    String a=pageContext.getParameter("item1");
  
    String b=a+" It is a OAF testing.";
  
    throw new OAException(b,OAException.INFORMATION);
  
  
  }



After this Right Click on the project "RohitHelloWorldPage" and then Click Rebuild.

Rebuild is the compilation of the project.

After successful compilation , Right Click on the page "RohitHelloWorldPagePG".
Click Run.



If you want to see Other OAF Related Posts , Please visit Below URL.
https://rpforacle.blogspot.in/2013/03/oaf_10.html

If you want to see  Oracle Fusion Related Posts , Please visit Below URL.
https://rpforacle.blogspot.in/2018/01/oracle-fusion-learning-tutorial.html
If you want to Learn Oracle Workflow Builder, Please visit Below URL.
https://rpforacle.blogspot.in/2018/01/oracle-workflow-learning-tutorial-1.html


7 comments:

basha said...

Magnificent blog I visit this blog it's extremely wonderful. Interestingly, in this blog content composed plainly and reasonable. The substance of data is useful.
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training
Oracle Fusion Financials Online Training
Big Data and Hadoop Training In Hyderabad
Oracle Fusion HCM Training In Hyderabad

shaik shah said...

Excellent blog I visit this blog it's really awesome. The important thing is that in this blog content written clearly and understandable. The content of information is very informative.
Oracle Fusion SCM Online Training
Oracle Fusion HCM Online Training
Oracle Fusion Financials Online Training

Anonymous said...

Nice blog I visit this blog it's really awesome. The important thing is that in this blog content written clearly and understandable. The content of information is very informative.
Oracle Fusion HCM Online Training
Oracle Fusion Financials Online Training

Anonymous said...

Good blog, Thanks for sharing this informative article. It would be helpful to all if you write a full article.
Oracle Fusion HCM Online Training"

shaik shah said...

Goodblog, thanks for sharing this informative article. It would be helpful to all .your way of explaining in this good in this article.
Oracle Fusion HCM Online Training

yamuna said...
This comment has been removed by the author.
Rainbow Training Institute said...

Very interesting blog Thank you for sharing such a nice and interesting blog and really very helpful article

Big Data and Hadoop Online Training
Big Data Hadoop Training
Hyderabad

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *