To display truly native looking forms, GWT Designer for MacOSX uses
the Safari browser whose core is a WebKit framework installed in the
OS. This WebKit framework is more than 2.5 years old and contains
many bugs which may limit the functionality of GWT Designer. In order
for GWT Designer to work properly, you need to install the Safari 3 browser
(recommended) or the latest
WebKit (you do not need to install both).
The known issues with the older WebKit are:
- Button elements (except <input> with submit type) rendered
without "Aqua" style.
- Menu visual editing not working.
- Table-based panels editing shows wrong cells bounds.
For complete list of bugs fixed see:
http://bugs.webkit.org/buglist.cgi?query_format=advanced&product=WebKit&version=420+&bug_status=CLOSED
|
To install the Safari 3 browser (recommended):- Download the browser from http://www.apple.com/safari/download/
- Mount the downloaded image.
- Double-click on Safari 3 installation icon.
- Follow the installation wizard instructions.
To install the latest WebKit:
- Download the latest WebKit from
http://nightly.webkit.org/builds/Latest-WebKit-SVN.dmg
|
- Mount downloaded disk image.
|
- Choose mounted volume, drag and drop "WebKit"
into Applications folder.
|
- Close Eclipse if it is open.
|
- Open "Finder" and find your Eclipse app.
|
- Right-click on Eclipse and choose "Show
package contents"
|
 |
- Go to Contents folder and open Info.plist with
Property List Editor (simply double clicking on Info.plist
file opens it in
Property List Editor).
In addition to Apple's editor, you can use the commercial
PlistEdit Pro product to edit the file (free trial
available) or use the Text Editor.
|
- Add "LSEnvironment" key and set it type as
"Dictionary"
|
- Add two subkeys of string type under "LSEnvironment"
key:
"DYLD_FRAMEWORK_PATH"
and set its value to
"/Applications/WebKit.app/Contents/Resources"
"WEBKIT_UNSET_DYLD_FRAMEWORK_PATH"
and set its value to
"YES"
If you don't have the Property List Editor, you can use the Text Editor:
- Open Info.plist with Text Editor.
- Go to the end of file and put a cursor just before the last
"</dict>" xml closing tag.
<key>LSEnvironment</key>
<dict>
<key>DYLD_FRAMEWORK_PATH</key>
<string>/Applications/WebKit.app/Contents/Resources</string>
<key>WEBKIT_UNSET_DYLD_FRAMEWORK_PATH</key>
<string>YES</string>
</dict>
|
 |
- Save Info.plist and close the editor.
|
- If GWT Designer fails to work properly
(for example, you see an Unknown Window Type error),
shut down Eclipse and delete everything in the
"configuration" directory except the config.ini file
and the org.eclipse.update/platform.xml file. You
should also keep your org.eclipse.update/bookmarks.xml
file in order to preserve your update site bookmarks. If
that does not help, review all of the suggestions in
this FAQ entry.
|