Tried to setup the development environment following the turorial’s chapter 1: Setting Up Your Development Environment. This went fine until running test_fwktutorial.jsp. The following error pops up:
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SYSTEM-ERROR. Tokens: MESSAGE = No suitable driver;
Sandeep’s message in forum helped me out here. Appears I hit bug 4069224.
Environment seems to be working now, on to my first page. Steps in the process:
Step 1. Create a New OA Workspace and Empty OA Project with the New… Dialog
Choose General > Workspace Configured for Oracle Applications from the New… dialog. The .dbc connection file can be found in:
<jdev_user_home>myhtmlOA_HTMLsecure
Step 2. Set Run Options in OA Project Settings
Select the Common > Oracle Applications > Run Options settings page. Select OADeveloperMode and OADiagnostic, and move them to the On Options List. OADeveloperMode provides extra code checking and standards checking at runtime. OADiagnostic enables the Diagnostics button in the global buttons at the top of the page, overriding any corresponding profile option set for the application. You should always have these two modes turned on during development.
The responsibility key (FWK_TBX_TUTORIAL) you use should match the responsibility assigned to your username!
Step 3. Create the OA Components Page File
Your package file name (which determines the location of the XML page file in the directory structure) should be set to oracle.apps….webui (to comply with Oracle Applications directory structure standards), where the application shortname is lowercase and is an existing Oracle Applications product shortname, such as INV. Note that pages migrated from old AK pages may use a different directory structure (pages instead of webui).
Step 4. Modify the Page Layout (Top-level) Region
The scope of shared regions (LOVs) should be set to public:
Step 5. Create the Second Region (Main Content Region)
Now you should be able to run the page…
Step 6. Create the First Item (Empty Field)
Step 7. Create a Container Region for the Go Button
Step 8. Create the Second Item (Go Button)
Step 9. Save Your Work
Step 10. Run Your Page Using the Run Option
Step 11. Add a Controller
Add a controller to display a message when the user clicks on the Go button.
Step 12. Edit Your Controller
Edit your controller code as follows:
Add the following line as the last line of the import section to make the OA Framework OAException routines available:
import oracle.apps.fnd.framework.OAException;
Code the processFormRequest() method to match the following (making sure to match the item IDs you chose):
public void processFormRequest(
OAPageContext pageContext
, OAWebBean webBean
)
{
super.processFormRequest(pageContext, webBean);
if (pageContext.getParameter("Go") != null)
{
String userContent = pageContext.getParameter("HelloName");
String message = "Hello, " + userContent + "!";
throw new OAException(message, OAException.INFORMATION);
}
}
Step 13. Build Your Controller
Step 14. Test Your Work Using the Run Option

