Add the code that is indicated in bold in the following snippet:

7-4 Oracle Fusion Middleware Developers Guide for Oracle Portal Your JSR 168 Portlet to the Oracle WebLogic Server for a reminder of how to perform this step. 8. In Oracle Portal, reload the page that contains the portlet. The portlet displays the text Portlet Content, which was one of the changes you made in Oracle JDeveloper.

9. Click the Customize link. You can see the new form field that you added in Oracle

JDeveloper. 10. Enter the following HTML in the Content field, replacing the words Portlet Content. pRead emThe Path to Portlet Interoperabilityem by John Edwards in strongOracle Magazinestrong, Nov-Dec 2003. p pIt discusses JSR 168 and WSRP open portals. p

11. Click Apply and then click Close. The HTML is rendered in the portlet.

7.2 Enhancing PDK-Java Portlets

Once you have built your initial portlet in the Portlet Wizard as described in Section 6.5, Building Oracle PDK-Java Portlets with Oracle JDeveloper , you may perform the following tasks to enhance it: ■ Section 7.2.1, Adding Show Modes ■ Section 7.2.2, Adding Personalization ■ Section 7.2.3, Passing Parameters and Submitting Events ■ Section 7.2.4, Using JNDI Variables ■ Section 7.2.6, Accessing Session Information ■ Section 7.2.7, Implementing Portlet Security ■ Section 7.2.8, Controlling the ExportImport of Portlet Personalizations ■ Section 7.2.9, Enhancing Portlet Performance with Caching ■ Section 7.2.11, Writing Multilingual Portlets This section assumes the following: ■ You are familiar with portlet terminology such as portlet Show modes. Refer to Chapter 1, Understanding Portlets and Section 6.1, Guidelines for Writing Java Portlets . ■ You have already downloaded and installed the Java Portlet Container. ■ You are already familiar with Oracle JDeveloper and know how to build and deploy Java components using it. You can download Oracle JDeveloper from OTN. Visit the Oracle JDeveloper page on OTN: http:www.oracle.comtechnologyproductsjdevindex.html

7.2.1 Adding Show Modes

In the Portlet Wizard, you add Show modes by checking boxes on the wizard pages. Refer to Section 6.5, Building Oracle PDK-Java Portlets with Oracle JDeveloper for more information about using the wizard. For each Show mode that you select in the wizard, a basic HelloWorld skeleton is created. If you need to add a Show mode after creating the portlet or you are adding one of the modes preview or link not available