0% found this document useful (0 votes)
45 views21 pages

Create New OA Workspace and Project

The document provides steps to create a new Oracle Applications workspace and project, set up a simple "Hello World" page, and add logic to display entered text on the page. It includes instructions to create a new workspace and project, set run options, add a module and page, create input and button regions on the page, add a controller with code to retrieve the input and display a message, and run the page locally.

Uploaded by

miss mounika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views21 pages

Create New OA Workspace and Project

The document provides steps to create a new Oracle Applications workspace and project, set up a simple "Hello World" page, and add logic to display entered text on the page. It includes instructions to create a new workspace and project, set run options, add a module and page, create input and button regions on the page, add a controller with code to retrieve the input and display a message, and run the page locally.

Uploaded by

miss mounika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 21

1.

Create New OA Workspace and Project

Right click on Applications node and select New OA Workspace

Give the workspace name and browse the directory name. All the
files related to the Workspace will be saved in myprojects folder
now.
Give the details as below to create a helloworld project.
Provide the connection details

DBC file : D:OAFjdevhomejdevdbc_filessecureVIS.dbc

E business suite Username/password

Responsibility: The given responsibility should be attached to the given user.


Step 2: Set Run Options in OA Project Setting

Select Oracle Applications > Run Options

Select OADeveloperMode and OADiagnostic, and move them to selected Options List
Step 3: Create an application Module
Step 4: Create a Hello World page
Page Layout region will be created automatically. Set the region
properties as below.
Create a new region
Set the region properties as below

Property Name Value


ID MainRN
Region Style messageComponentLayout

Create new TextInput item to enter the text value.


Set the item properties as below

Property Name Value


ID NameID
Item Style messageTextInput
Prompt Name
Length 20

Create button layout region


Set the item properties as below

Property Name Value


ID ButtonLayout

Create an Item GO Button

Select ButtonLayout > New > Item


Set the item properties as below

Property Name Value


ID GO
Item Style submitButton
Attributes

Save your work and Run the page

Add a Controller to the page.

MainRN -> Set New Controller


Add below coding part to the Controller file to display the text data on page.

public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)

super.processFormRequest(pageContext, webBean);

if (pageContext.getParameter(“GO”) != null)

String userContent = pageContext.getParameter(“NameID”);


String message = “Hello, ” + userContent + “!”;

throw new OAException(message, OAException.INFORMATION);


}

s
Step 5 : Run OAF page

Right click on page and click Run to run the page locally.

Page gets loaded as below

Enter a string in Name field and click Go

What ever you typed in Name field will appear as Information which is
highlighted.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy