[SmartGWT] Corrupt SmartGWT Button Image

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

[SmartGWT] Corrupt SmartGWT Button Image

Postby dexter_777 » Sun Sep 19, 2010 9:08 am

Hi,
I'm trying GWT Designer on SmartGWT. However all my SmartGWT widgets have their 'background' images missing so for example, the buttons will appear only as texts on top of white boxes. I've tried to inspect the preview and it seems GWT Designer is getting a wrong SmartGWT "sc" folder path. Let's say my package is com.xxx.yyy. The correct "sc" folder is at http://localhost:port/<a number>/yyy/sc. But GWT Designer is trying to access http://localhost:port/<a number>/com.xxx.yyy/sc and so it can't find all the background images. Anyone encountered this before? I suspect its due to the "isomorphic" variable not set properly. Thanks for any help.
dexter_777
 
Posts: 2
Joined: Sun Sep 19, 2010 9:02 am

Re: [SmartGWT] Corrupt SmartGWT Button Image

Postby Eric Clayberg » Sun Sep 19, 2010 11:35 am

Please ZIP up and post a small project that demonstrates the problem you are having (don't include the SmartGWT jars as we have those already).
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: [SmartGWT] Corrupt SmartGWT Button Image

Postby dexter_777 » Mon Sep 20, 2010 6:45 am

I'm not sure whether its my project settings or whether its my Eclipse settings.
I've created just a starter project and the GWT Designer seems to behave similarly with SmartGWT Widgets
I've attached a screen preview with what I meant.
designer.jpg
designer.jpg (6.35 KiB) Viewed 370 times

The SmartGWT IButton has "question mark" image indicating that it can't find the background image,
whereas the normal GWT Button looks okay.
But when I run this project and view it in the browser, it works fine and the SmartGWT button looks okay.

I see in the preview _start.html for GWTDesigner, the following line
<script>if(!isomorphicDir){ var isomorphicDir = "com.gwt.test.GWTTest/sc/"; }</script>
Looks like this is the offending line cause the sc folder is not located there

The small project I'm doing is here
http://rapidshare.com/files/420159344/GWTTest.zip.html
(I've turned on TrafficShare so you don't have to wait)

Thanks
dexter_777
 
Posts: 2
Joined: Sun Sep 19, 2010 9:02 am

Re: [SmartGWT] Corrupt SmartGWT Button Image

Postby Eric Clayberg » Tue Sep 21, 2010 8:00 am

This has been fixed for the next build which will be available in the near future.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest

cron