GWT library Wizard

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

GWT library Wizard

Postby Fedy2 » Wed May 18, 2011 6:56 am

Hi,
I'm using the GWT library Wizard (as explained here:
http://code.google.com/webtoolkit/tools ... brary.html)
to create a new project for a GWT library.
I've created an empty GWT project and then using the wizard the
library part with the html file (option: Create HTML file to allow
visual design).
Finally I've created a test Panel and now I want to test it.
If I run it as Web Application I get a blank page.

How can I test my library component with the created project?
Fedy2
 
Posts: 3
Joined: Wed May 18, 2011 6:36 am

Re: GWT library Wizard

Postby Eric Clayberg » Wed May 18, 2011 8:39 am

A GWT library project is not meant to have its own UI.

If you want a UI, you should use the "Web Application Project" wizard provided by the GPE.
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: GWT library Wizard

Postby Fedy2 » Wed May 18, 2011 9:26 am

Thanks for the reply.

OK.

About the "Create HTML file to allow visual design" option, what is it for?
Why it creates an HTML page with title "Wrapper HTML for X", where X is the library name?
I was supposing that it was an option to let the developers to test the UI components in the library into the browser.
Fedy2
 
Posts: 3
Joined: Wed May 18, 2011 6:36 am

Re: GWT library Wizard

Postby Eric Clayberg » Wed May 18, 2011 12:44 pm

You would use that if you wanted to create any custom UI components for use in other projects (like custom Composites). No EntryPoint is created, so you can't easily test them there. As the name suggests, the is a library for use by other projects. If you want to test them, you woud need to include them into an EntryPoint in another project.
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: GWT library Wizard

Postby Fedy2 » Wed May 18, 2011 1:35 pm

OK, thanks for the reply and compliments for the presentation at the Google IO.
Fedy2
 
Posts: 3
Joined: Wed May 18, 2011 6:36 am

Re: GWT library Wizard

Postby Eric Clayberg » Wed May 18, 2011 4:01 pm

Fedy2 wrote:OK, thanks for the reply and compliments for the presentation at the Google IO.

Thanks! Glad you liked it. Make sure to leave feedback about the presentation here...

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