Defining web browsers and device emulators

You can display your project in a web browser or in a device emulator. Device emulators are programs that mimic devices, such as cell phones or PDA devices.

About this task

For Windows, Rational® tools provide a web browser as part of the workbench. You can also use an external web browser on Windows systems. For Linux, an external web browser is always used. In addition, you can define a device emulator to be used to display the output of your project on either type of system.

To define a web browser or device emulator:

Procedure

  1. Select Window > Preferences > General > Web Browser.
  2. To use the internal web browser (Windows only), select Internal Web Browser . To use an external web browser or a device emulator, select External Web Browser and follow these steps:
    1. Select New.
    2. Provide a name for the web browser or device emulator.
    3. Provide the location of the executable program for the web browser or device emulator.
    4. Provide any parameters that you want to pass to the web browser or device emulator. For instance, the variable %URL% will be used to pass the URL of the portal server.
    5. Select OK.
    6. Select the web browser or device emulator that you want to use from the list of Installed web Browsers.
    7. Select OK to save your choice and exit the Preferences page.

What to do next

Note: If changes made to a portal or portlet project do not show up automatically in the browser when you run or debug the project on a remote server, try one of the following solutions:
  • Use the steps above to set an external web browser. Then, before each time you select Run on Server or Debug on Server, you need to close the external browser.
  • Explicitly log out of WebSphere® Portal using the browser and log back in. After the login, the changes will be shown. This step needs to be performed every time an updated portal project is published.

Feedback