Creating a PLSQL Page

6-10 Oracle Fusion Middleware Users Guide for Oracle Portal Use up to 256 characters of any kind. The Display Name identifies the page in the Page Groups portlet and the Portal Navigator.

7. In the File Name field under JSP Source, enter the location and file name of the

JSP to execute when users view the page. You can also enter a JAR or WAR file in this field. Alternatively, click Browse to locate and select the file.

8. In the Initial JSP File field under Initial JSP File for JAR or WAR Files, enter the

name of the JSP file to execute when the user first views the page. Do this only if you uploaded a JAR or WAR file in the previous step.

9. Click Create.

10. After you have created your page you may want to either create another page or edit the properties of the newly created page to add more detail.

6.6.2 Creating a JSP By Copying Another Page

To create a JSP by copying an existing page: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page to be copied. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. In the Layout Appearance section, click the Browse link next to the Pages

heading.

5. On the resulting page, click the Copy as JSP link next to the relevant page.

6. In the Display Name field, enter a Display Name for the page.

Use up to 256 characters of any kind. The Display Name identifies the page in the Page Groups portlet and the Portal Navigator. Note: In the Oracle Portal user interface, an asterisk indicates a field that requires a value. For a summary of the rules governing the naming of objects in Oracle Portal, see Appendix D, Object Naming Rules in Oracle Portal . Note: For information on editing page properties, see Section 6.9, Editing Page Properties. . Note: Only Standard pages or custom pages based on the Standard page type can be copied as a JSP. Creating Pages 6-11

7. Under Content Options, choose from:

■ Use Original Page’s Portlet Instances . Select this option to use the portlets on the original JSP and to share the personalizations that were made to those portlets. If a portlet is deleted from the original page, it is also removed from the JSP that shares it. ■ Create Externally Published Portlets . Select this option to create an externally published portlet for each portlet on the original page, and then use the externally published portlets on the JSP. If you select this option, any personalizations made to the portlets on the original page are not carried over to the portlets on the JSP. For example, changes to develop-in-place portlets, such as the OmniPortlet, the Web Clipping portlet, and the HTML portlet, are lost because any changes to those portlets are regarded as personalizations.

8. Click OK.

6.7 Creating a Mobile Page

Mobile pages provide a way to design the display of portlets and items specifically for mobile devices, such as cell phones. Standard pages can also be displayed in mobile devices; however, the standard page design environment is more suited to creating pages for larger display devices, such as computer monitors. Mobile pages are discussed in detail in Chapter 9, Working with Pages Designed for Mobile Devices . To create a mobile page:

1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select a page group to own

the mobile page. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. In the Layout Appearance section, click the Create link next to the Pages

heading. If the page is a sub-page of an existing page rather than of the page group’s root page, follow the steps outlined in Section 6.3, Creating a Sub-Page . Then return to Step 5 in this section. Note: In the Oracle Portal user interface, an asterisk indicates a field that requires a value. For a summary of the rules governing the naming of objects in Oracle Portal, see Appendix D, Object Naming Rules in Oracle Portal . Note: For information about editing page properties, see Section 6.9, Editing Page Properties . Note: To create a mobile page, you must have at least the page privilege Manage on the new page’s parent page. 6-12 Oracle Fusion Middleware Users Guide for Oracle Portal

5. On the resulting page, select Mobile from the Page Type list.

If Mobile is not included in this list, the Mobile page type has not been included in the page group. If you have administrative privileges, you can add this type to the list of available types by clicking the Configure link next to the Page Type field. This takes you to a page where you can configure the page group to include the Mobile page type. The Configure link displays only for users with the required access, such as the page group administrator.

6. In the Display Name field, enter a Display Name for the page.

Use up to 256 characters of any kind. The Display Name identifies the page in the Page Groups portlet and the Portal Navigator. 7. Select: ■ Blank Page to create a blank mobile page. ■ Base On Existing Page to pre-populate the mobile page with all the content from an existing page. Click the Browse icon next to the Base On Existing Page field, and the Return Object link next to the page you will use as the starting point for your mobile page.

8. Click Create to create the page.

If you based your mobile page on an existing page, and the existing page is complex, the page creation process may take a while as the existing page is converted into a layout that is more suited for display on mobile devices. When you click the Finish button, you are given the opportunity of continuing the page creation process in the background so that you can move on to other tasks. If you attempt to edit the mobile page before the creation is completed, a pop up window will inform you that the page is not yet complete. 9. After you have created your page you may want to either create another page or edit the properties of the newly created page to add more detail. If you add a portlet to a page that was used as the starting point for a mobile page, that portlet will not appear on the mobile page. If you want the portlet to also appear on the mobile page, you must add it to the mobile page. Additionally, if you want to share any personalizations made to the portlet between the two pages, you must explicitly share the portlet on one page, and then add that shared portlet instance to Note: In the Oracle Portal user interface, an asterisk indicates a field that requires a value. For a summary of the rules governing the naming of objects in Oracle Portal, see Appendix D, Object Naming Rules in Oracle Portal . Note: You can base a mobile page only on a Standard page. If you want to create a new mobile page based on an existing mobile page, copy the mobile page, then edit the copy. Note: For information on editing page properties, see Section 6.9, Editing Page Properties. .