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 4611490
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:16:30+00:00 2026-05-22T01:16:30+00:00

I have a multipage application which needs to manually switched from one page to

  • 0

I have a multipage application which needs to manually switched from one page to another. could it be done in GWT since it is targeted towards single page application. I am learning from the Google code and online forums but could not find any application which had multi-pages not linked by a common entry-point. Any ideas?

  • 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-22T01:16:31+00:00Added an answer on May 22, 2026 at 1:16 am

    GWT has support for “pages” within application via URL fragment identifier (FI), i.e. http://www.yourhost.vom/main#pagename, where “pagename” is a fragment identifier representing a “page” within your app.

    This “pages” (note that browser never really reloads the page, so GWT app stays the same), have full history support and are bookmarkable.

    NOTE: throughout GWT docs fragment identifier is sometimes referred to as place token or history token.

    1. Enable history support by adding an iframe to your host page:

      <iframe src="javascript:''" 
              id="__gwt_historyFrame" 
              style="width:0;height:0;border:0">
      </iframe>
      
    2. Register a ValueChangeHandler to be notified when FI (page) changes: History.addValueChangeHandler(..). Within this handler you put a logic that displays the new page.

    3. Go to a particular page by calling History.newItem("newpage") (without #)

    4. You can even pass “parameters” to page, by dividing fragment identifier into sub parts: for example “#edit/user4”. Just parse this FI, invoke code that shows edit page and pass “user4” to it. You can use any character to divide FI into a “page” part and “parameter” part (I use “/” here). To see this in real life: open a message in gmail and look at URL.

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

Sidebar

Related Questions

I have an application which initializes log4net from one appdomain and needs to use
We have a weblogic batch application which processes multiple requests from consumers at the
I have a networking Linux application which receives RTP streams from multiple destinations, does
I have a Silverlight 3 application which needs to call WCF service. The WCF
I have an application which needs to connect to multiple databases. This is an
I have an application which might needs to connect to multiple databases. But each
I have a web application which needs to support multiple languages. We currently have
I have an application which supports multiple types and versions of some devices. It
I have a Flex3 application which has to be capable of uploading multiple files
I have an application in which I would like to support multiple orientations. I

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.