In the Web Clipping portlet, click the Edit Defaults icon. In the Web Clipping Studios Find a Web Clipping page, in the URL Location

Creating Content-Based Portlets with Web Clipping 5-17

7. In the Find a Web Clipping page, click OK to display the selected Web Clipping in

the Web Clipping portlet on your page. Figure 5–20 shows the Web Clipping displayed in the page. Figure 5–20 Selected Web Clipping Displayed in Web Clipping Portlet

5.4.3 Personalizing a Web Clipping Portlet

In this task, you edit the properties of the Web Clipping portlet to allow end users to display different search results in the portlet. To do this, perform the following tasks:

1. Above the Web Clipping portlet you just added, click the Edit Defaults icon, as

shown in Figure 5–21 . Figure 5–21 Clicking Edit Defaults for the Web Clipping Portlet

2. In the Find a Web Clipping page, modify the following items in the Properties

section: ■ From the URL Rewriting list, choose Inline to specify that you want link targets displayed inside the portlet, rather than in a new browser window. 5-18 Oracle Fusion Middleware Developers Guide for Oracle Portal ■ In the Title field, enter OTN Search. This title displays in the header of your Web Clipping portlet, as well as the pages where users can personalize parameters for the Web clipping. Figure 5–22 shows the Properties and Parameterize Inputs sections of the Find a Web Clipping page. Figure 5–22 Setting Properties for a Web Clipping

3. Because the content displayed in the portlet was reached by entering information

in the Search field on OTN, you can customize the parameters used by the search to allow end users to specify their own search string. In the Parameterize Inputs section, select the Click to start parameterizing check box.

4. In the parameters table, make the following changes:

■ In the Parameters column, choose p_Query from the list. ■ In the Personalizable column, choose Param1 from the list. You can manually add more parameters in the provider.xml file if you need to. ■ In the Display Name column, enter OTN Search. ■ Make sure that Default Value displays web clipping portlet to be sure you have selected the right parameter. Figure 5–23 shows the parameters table. Figure 5–23 Specifying Parameters for User Input

5. Click OK to display the default search results in the Web Clipping portlet on your

page.

6. In the Editing Views section, click View Page.

7. In the Web Clipping portlet header, click Personalize, as shown in

Figure 5–24 .