does gwt-widgets work with Designer?

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

does gwt-widgets work with Designer?

Postby oldgwtuser » Fri Oct 10, 2008 12:26 am

I was trying Designer on an existing GWT project which is using GWT 1.5.2 and gwt-widgets-0.2.0
On clicking the Design tab of Class implementing EntryPoint, it starting initializing and subsequently fails..

Following is found in .gwt-logs\.gwt-log says following
[ERROR] Line 120: The constructor JSCalendar(String, boolean, String) is undefined

This class belongs to gwt-widgets and is present in the build-path of the project.

Preferences for Designer doesn't have option to add additional widget library; is there any way to integrate gwt-widgets?
oldgwtuser
 
Posts: 1
Joined: Thu Oct 09, 2008 11:21 pm

Re: does gwt-widgets work with Designer?

Postby Eric Clayberg » Fri Oct 10, 2008 4:23 am

See the Custom Widget discussion in the FAQ. Custom widgets need to have a Javabean standard zero-argument constructor.

Widgets can be added to the palette using the Palette Manager.

Any external widgets need to be referenced in your GWT module file just like any other external code.
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