About Package structure in GWT

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

About Package structure in GWT

Postby kiranmayee » Sun Jul 29, 2007 10:03 pm

Hi....
I want to create a project by using GWT, and its having so many screens around 50 in different headings, if I want to create a new module for every heading and its server and impl how can I do............ I am very new to GWT, first time I am using this technology for my application.
Regards,
Kiranmayee.M
kiranmayee
 
Posts: 7
Joined: Tue Jul 17, 2007 5:07 am

Re: About Package structure in GWT

Postby Eric Clayberg » Mon Jul 30, 2007 5:41 am

General GWT questions should be posted to Google's GWT forum.

kiranmayee wrote:I want to create a project by using GWT, and its having so many screens around 50 in different headings, if I want to create a new module for every heading and its server and impl how can I do............ I am very new to GWT, first time I am using this technology for my application.

Depending on what you mean by "screens" and "headings", you could create multiple projects, multiple modules or multiple entry points in one or more modules. You could also create multiple Composites as pages in a TabPanel. How you implement your app is up to 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

Postby kiranmayee » Wed Aug 01, 2007 1:44 am

Hi Eric,
In my project there is only one entry point, which u can think as Login Screen, after that in the right side of panel i ll get a tree which has sub nodes, each tree node is a module i am considering, cause it is having more than 3 sub nodes that means screens thats why... Now, Can u tell me how can i change my package structure as of now i came to know that each project of GWT has 3 packages client, server and impl can u tell me any other way to define the modules or u can give me any example structure that u gone through..........

And one more question I have, that is, In GWT, the list box can't have multiple selection options like Swing List box, is there any way to highlight in UI the multiple selection of a list box in GWT.

Regards,
Kiranmayee.M
kiranmayee
 
Posts: 7
Joined: Tue Jul 17, 2007 5:07 am

Postby Eric Clayberg » Wed Aug 01, 2007 5:43 pm

kiranmayee wrote:In my project there is only one entry point, which u can think as Login Screen, after that in the right side of panel i ll get a tree which has sub nodes, each tree node is a module i am considering, cause it is having more than 3 sub nodes that means screens

The EntryPoint is primarily used to provide an initial URL that can be entered by the user. After starting your GWT application using the EntryPoint you can make any GUI modifications that you want (for example, replace the content of the RootPanel with some Composite).

kiranmayee wrote:In GWT, the list box can't have multiple selection options like Swing List box

Why do you think that? Looking at the ListBox API, it's pretty clear that it does support mutlupel selection.
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

Postby kiranmayee » Thu Aug 02, 2007 11:00 pm

Hi Eric,
Thanks for u r answers, I am not getting the complete API documentation, where can I get a Complete API documentation of GWT.
Regards,
Kiranmayee.M
kiranmayee
 
Posts: 7
Joined: Tue Jul 17, 2007 5:07 am

Postby Eric Clayberg » Fri Aug 03, 2007 6:26 am

kiranmayee wrote:I am not getting the complete API documentation, where can I get a Complete API documentation of GWT.

API docs are available from the Google GWT site as well as in the GWT code itself. If you ever have questions about what a GWT class will do, the best place to answer those questions is the code itself. A quick look at the ListBox class would have answered your earlier question.
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 3 guests