20.1 Overview of ADF Rich Client Help Provider

If you have an ADF Faces application and wish to incorporate online help into your application, ADF Faces, also known as ADF Rich Client, provides an easy way to do that. You can create an online help system with help topics which are integrated with components of the application.

This chapter describes how to configure OHW-RC as a help provider, lists other ADF Rich Client help providers, and also describes how to use HelpTopicId attribute to associate help topics with your application.

20.2 Integrating Online Help With ADF Faces Application

When you integrate a help topic with an ADF Faces component, a help icon (a blue circle with a question mark) appears with the component. When you click the help icon, the related help topic appears in a new window, as shown in Figure 20-1.

Integrating an online help with an application is an easy process, descibed in the following steps:

Register a help provider with your application

Create a properties file that contains the topic ID and help text for each help topic

Associate the UI components with help topics by using the HelpTopicId attribute

For more information about integrating online help with an application, see "Displaying Help for Components" section in Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework.

20.3 Registering OHW-RC as an ADF Rich Client Help Provider

ADF Rich Client Faces includes a variety of help providers. You can use a combination of the different help providers or create your own help provider class. You can also use OHW-RC as a help provider.

You need to perform the following tasks in order to set up OHW-RC as a Help Provider in an ADF Rich Client application:

Deploy OHW-RC as a web application:

Deploy an RC application to web application server.

Note down the context-root of this deployment.

Open the web.xml file in this deployment.

Find the OHW-RC servlet instance.

Develop the jspx Web pages.

Create an ADF Faces-based Web application.

Create a jspx Web page; for some components (input*, select*, etc), where you can find an attribute named helpTopicId, specify the ID you want to display with your OHW-RC instance.

Copy the helpsets into a direcotry under your <application_root>/public_html folder. For example, let's name this directory helpsets.

Set up the adf-settings.xml file.

Navigate to your application's directory, and look for the .adf/META-INF/ directory. Under that directory you can find the adf-settings.xml file. If the .adf/META-INF directory is not present, create the META-INF directory under the ViewController/src directory.

The prop property is predefined, or specified, by starting Oracle WebLogic Server with -Dprop option. For example, -Dprop=/Oracle/help.

The group property specifies the group name (which you want to use in the help provider) in your ohwconfig.xml file.

The baseURI property specifies the server host, the context root, and the OHW-RC servlet instance of the RCF application that you deployed in Step 1.

20.4 Using HelpTopicId Attribute

To associate a help topic with an ADF component, you must assign the help topic's unique id as the HelpTopicId attribute's value. The HelpTopicId attribute is available in the Appearance section of Property Inspector.

For more information about HelpTopicId attribute, see "Displaying Help for Components" section in Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework.

20.5 Using Other Help Providers

Two common ADF Rich Client help providers are ResourceBundleHelpProvider and ELHelpProvider. The ResourceBundleHelpProvider help provider allows you to create resource bundles. These resource bundles are containers of your help files, control files, graphics, and other related files. The ELHelpProvider help provider allows you to create XLIFF files. The XLIFF files get converted into maps, or create a managed bean that contains a map of help text strings.

For more information about these and other help providers, see "Displaying Help for Components" section in Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework.

Scripting on this page enhances content navigation, but does not change the content in any way.