Viewing Standard Pages on Mobile Devices

Working with Pages Designed for Mobile Devices 9-11 Portal administrators can set other global options that impact mobile access throughout your portal. ■ Exclude the Login link displayed on mobile home pages. ■ Display page titles in navigation link text, instead of the text Home and Back. ■ Enhance page layouts for PDAs Personal Digital Assistants and set PDA display options such as fonts, colors and banner images. ■ Enable mobile portlet content logging. ■ Specify the OracleAS Wireless Portal Service URL.

9.7.3 Step 3 Make mobile content available on Oracle Portal pages

To test mobile access in your portal, start by creating a simple mobile page containing the mobile-enabled portlet MobileXML. When you create the mobile page, set the option Display Page To Public Users as described in Section 9.2, Creating a Mobile Page . The MobileXML Portlet is located in the Portlet Repository, under Portlet Builders, Additional Portlet Builders. If you are not sure how to add portlets to mobile pages, see Section 9.3, Adding Content to a Mobile Page . Edit the default content of the MobileXML portlet as follows: 1. Click the Edit Defaults icon beside the portlet. 2. Enter the following text as the actual content of the portlet, or enter your own OracleAS Wireless XML if you prefer. SimpleText SimpleTitle Mobile Portlet Content SimpleTitle SimpleTextItem This portlet uses a short sample of the markup that can be used in a mobile portlet. The markup can be used to describe: SimpleTextItem SimpleTextItem Forms : lt;SimpleForm SimpleTextItem SimpleTextItem Tables : lt;SimpleTable SimpleTextItem SimpleTextItem Menus : lt;SimpleMenu SimpleTextItem SimpleTextItem Links : lt;SimpleHref SimpleTextItem SimpleTextItem Plus many more useful user interface items. However, unlike HTML this mobile markup is strict XML, so more care has to be taken when using it. SimpleTextItem SimpleText

3. Click OK to return to the page.

9-12 Oracle Fusion Middleware Users Guide for Oracle Portal

4. Click View Page to preview the mobile page.

This view provides a good indication of how the page will look when it is displayed on a mobile device.

9.7.4 Step 4 Configure a home page for mobile users

Although it is not mandatory, we recommend that you specify a home page to be displayed when you access Oracle Portal from a mobile device. The mobile home page is independent from the desktop home page. See Section 2.1.4, Choosing Your Home Page . The Mobile Home Page setting is also a convenient way to access new mobile pages during testing.

9.7.5 Step 5 Contact Oracle Portal from a mobile device

To contact Oracle Portal using a mobile device, use the same URL that you would use to access the portal from a desktop browser, that is, use the form: http:host:portportalpagedad Oracle Portal detects the non-html access and redirects the mobile device to the OracleAS Wireless Service URL specified on the Mobile tab of the Global Settings page. See also Section 9.7.2, Step 2 Configure mobile access for Oracle Portal . Some mobile devices and simulators do not properly support redirection. In these cases the mobile device may display some form of error. To work around this problem enter the OracleAS Wireless Service URL mentioned previously directly into the mobile device. The mobile home page is displayed in the mobile device; the page title is shown, together with links to the portlets on the page. In the sample page you created in Step 3, there will be just one portlet link displaying the portlets Short Display Name. Click the portlet link to view the portlet content in the mobile device. As stated earlier, accessing a portal from a real mobile device rather than a simulator is a matter of network configuration rather than Oracle Portal or OracleAS Wireless server configuration. If the network is correctly configured generally involving access from the Internet to some machine on an intranet, these steps remain the same.

9.8 Using the OracleAS Wireless DebuggerSimulator

The OracleAS Wireless server has a basic built-in debugger that includes a simulator. You can access the debugger from OracleAS Wireless by: ■ Clicking the test button of the portal service, or ■ Choosing to debug the portal service. The simulator looks and behaves like a PDA, and offers nothing more than simple browsing capabilities. The simulator is part of the service debugging process that enables you to choose which device http headers the simulation passes on to Oracle Portal the simulator does not change to look like the chosen device, but the headers sent to Oracle Portal will differ. This enables you to send requests to Oracle Portal as if they are coming from a PDA and then to send requests to Oracle Portal as if they were coming from a mobile phone. This may be useful if you want to check portlets that are set up to display markup targeted at specific devices.