Inheriting SmartGwtNoScript problems

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

Inheriting SmartGwtNoScript problems

Postby tweediewr » Thu Apr 14, 2011 5:47 am

Is there any way around the problem that if I inherit:

<inherits name="com.smartgwt.SmartGwtNoScript"/>

Instead of:
<inherits name="com.smartgwt.SmartGwt"/>

In my .gwt.xml file - the editor fails to load any SmartGWT graphics. Like in the picture below:

Screen shot 2011-04-14 at 14.30.20.png
Screen shot 2011-04-14 at 14.30.20.png (17.84 KiB) Viewed 117 times


Otherwise it looks fine:
Screen shot 2011-04-14 at 14.41.53.png
Screen shot 2011-04-14 at 14.41.53.png (20.59 KiB) Viewed 117 times


Thanks,

Robin
tweediewr
 
Posts: 6
Joined: Wed Sep 22, 2010 7:59 am

Re: Inheriting SmartGwtNoScript problems

Postby asablin » Thu Apr 14, 2011 6:35 am

"com.smartgwt.SmartGwt" contains inside <inherits name="com.smartclient.theme.enterprise.Enterprise"/>.

But "com.smartgwt.SmartGwtNoScript" DOES NOT CONTAIN any theme initializing (and many others features) and thus no images are available.
asablin
Moderator
 
Posts: 19
Joined: Thu Sep 23, 2010 3:07 am

Re: Inheriting SmartGwtNoScript problems

Postby tweediewr » Thu Apr 14, 2011 6:51 am

In a similar way to the SmartGWT showcase we have let the user decide what theme to load via an option.

Code: Select all
document.write("<"+"script src=gwt/sc/skins/" + currentSkin + "/load_skin.js?isc_version=7.1.js><"+"/script>");


If we inherit a theme through the xml file it loads it after the user's choice and always uses it. Is it posible to have the GWT designer pick up an entry for inheriting a theme but exclude the GWT complier / hosted mode from doing so?

Thanks for your help,

Robin
tweediewr
 
Posts: 6
Joined: Wed Sep 22, 2010 7:59 am

Re: Inheriting SmartGwtNoScript problems

Postby Eric Clayberg » Thu Apr 14, 2011 7:30 am

I am not aware of any way to do that.
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 2 guests

cron