SmartGWT says must use Window.addItem, not addMember

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 says must use Window.addItem, not addMember

Postby dhaber » Tue Jun 01, 2010 5:55 am

I have a simple Window which is rendering incorrectly. (Clarifying details below.)

A quick search of SmartGWT's forum yielded:
http://forums.smartclient.com/showthrea ... tle+bottom

That is not my post, but it describes the same problem I was having. The recommended fix worked, so it seems you should be generating addItem calls when adding to a Window.

I should clarify - when actually running the change worked. However, GWT Designer is not rendering addItem calls.
dhaber
 
Posts: 2
Joined: Fri May 28, 2010 7:28 am

Re: SmartGWT says must use Window.addItem, not addMember

Postby Eric Clayberg » Tue Jun 01, 2010 6:33 am

Yes, this is a known problem with SmartGWT.

Update to the latest GWT Designer v7.5 build as we have changed it to generate addItem() as suggested in that SmartGWT forum post.
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 says must use Window.addItem, not addMember

Postby dhaber » Tue Jun 01, 2010 11:55 am

Got the latest, and that did the trick. Thanks!
dhaber
 
Posts: 2
Joined: Fri May 28, 2010 7:28 am

Re: SmartGWT says must use Window.addItem, not addMember

Postby Eric Clayberg » Tue Jun 01, 2010 12:58 pm

Glad that worked for you.
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