Safari browser option does not work in Rich Page Editor

Technote (troubleshooting)


Problem(Abstract)

After installing Safari, you might be required to modify a system path variable for product installations in which Rich Page Editor supports an embedded Safari browser on Windows.

Symptom

Your product installation supports Safari on Windows as an embedded browser choice and Safari is installed separately. However, when you click the Safari browser button from the Rich Page Editor toolbar, an error message displays stating that Safari is not available.


Cause

Recent Safari installers write the "Apple Application Support" directory to a different location on the disk than earlier installer versions. The Eclipse SWT support for embedded browser widgets looks in the previous location and cannot locate the required browser code.

Environment

A 32-bit version of a product installation on Windows that is set up on top of Eclipse 3.7.x. For example, Eclipse Indigo SR2, which is version 3.7.2.

Notes:

  • Safari is not supported on 64-bit product installations.
  • The path problem is corrected when using Eclipse 3.8 and later versions.
  • You must install Safari for Windows.

Diagnosing the problem

Safari is displayed as an option in Rich Page Editor only in environments where it can be used. Use this workaround if an error message is displayed when you click the Safari toolbar button in Rich Page Editor and Safari for Windows is installed separately.

Resolving the problem

To resolve this problem:


1. Modify the Windows "Path" environment variable to include the location of the "Apple Application Support" directory. For example:

C:\Program Files (x86)\Safari\Apple Application Support

Prefix this path string to the Windows "Path" environment variable.

2. Restart the product.
3. Open Rich Page Editor.
4. From the editor toolbar, click the Safari browser button to open the Design view.


Cross reference information
Segment Product Component Platform Version Edition
Mobile- Speech and Enterprise Access IBM Worklight Application Development Windows 5.0
Mobile- Speech and Enterprise Access IBM Mobile Foundation Installation Windows 5.0, 5.0.0, 5.0.0.1, 5.0.0.2, 5.0.0.3, 5.0.5

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Application Developer for WebSphere Software
Developer Toolkit for Eclipse

Software version:

8.5, 8.5.1

Operating system(s):

Windows

Reference #:

1615910

Modified date:

2012-11-05

Translate my page

Machine Translation

Content navigation