Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4102134
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:47:12+00:00 2026-05-20T20:47:12+00:00

I know there are many questions concerning this topic but after reading them all

  • 0

I know there are many questions concerning this topic but after reading them all I’m even more confused.

I have an application that manages contacts. There are three pages:

  • Add contact
  • Show contacts
  • Modify contact

And now I have no idea what structure to give to my project: should I create three different modules? if so, what would be the best package structure? and how would I call other modules within a page? for example, from the ‘add contact’ page there should be a button to the ‘show contacts’ page, and from this one there should be button/links to ‘modify contact’ and ‘add contact’.

would it be enough to add this line to the corresponding buttons event handlers?

Window.Location.assign("showcontacts.html");

(or just create a link to “showcontacts.html” if it’s the case)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:47:13+00:00Added an answer on May 20, 2026 at 8:47 pm

    To allow multiple pages to be selectively displayed within a single module, I use one of two techniques:

    1. use a SimplePanel or one of its
      derivatives (e.g. LazyPanel,
      ScrollPanel).Use setWidget to change
      the page. Each “page” is a widget.
      For example, I am doing a project
      with a menubar. When “Home” menuitem
      is clicked, the menu command
      replaces the body of the simplepanel
      by setting its widget to the Home
      widget. Likewise for login, etc
      menuitems.

      A SimplePanel allows only one widget.
      Therefore, you do not addWidget to it but setWidget to it.

    2. use tab. Either TabLayoutPanel or
      TabPanel. I prefer using the
      TabLayoutPanel. You have to meticulously
      set/design the CSS for TabLayoutPanel, otherwise
      you would only see a blob of text hanging around.

    I also try to encapsulate a “page” widget in a lazypanel (which is a derivative of a simple panel. That will prevent instantiation of any pages that may not be used in a module with a large number of “pages”.

    GWT is indeed suitable for ui presentation with multiple pages. In fact, one of the advantages of GWT over JSP is that you can change a page without a browser refresh/fetch flicker – one of the extremely strong reasons why you would want to use GWT for a web app with multiple pages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there are many questions about this but none of them helped my
I know there are many questions similar but any of them didn't help. in
I know that there are many different questions about this sort of topic on
I know there are many other questions similar to this one, but none of
I know that there are many similar questions posted, but none of them refers
I know there are many questions asking for this, but I have tried quite
I know there are many questions and answers about this, but I am looking
I know there are many questions on this, but I don't get it to
Note : I know there are many questions related to this, but still I
I know there exists many questions about this, but I dont know what to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.