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

  • Home
  • SEARCH
  • 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 6352443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:12:22+00:00 2026-05-24T22:12:22+00:00

I am new to GWT, I would like to use hyperlinks where I would

  • 0

I am new to GWT, I would like to use hyperlinks where I would like to redirect the user to another form.

My question is that , creating hyperlinks are easy, but how do I use them ?? addClickListener seems to be deprecated, is there any other way to go around this ?

Update 1
I have implemented the Hyper link code as follows :

  Hyperlink link0 = new Hyperlink("Show Boxes","showbox");
  History.addValueChangeHandler(this);
  History.fireCurrentHistoryState();
  public void onValueChange(ValueChangeEvent<String> event) {
  String eventValue=event.getValue();
  if(eventValue.equals("showbox")){
     showBox();
  } 
}

With this I see that the form corresponding to one hyperlink is visible, but this form is not closed and another for is not being opened when I click one another hyperlink.
I am using DockPanel to display the form in the East direction. The forms for all the hyperlinks are just being displayed one below the other.

Any comments/suggestions for the same ?

Thanks,
Bhavya

  • 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-24T22:12:23+00:00Added an answer on May 24, 2026 at 10:12 pm

    Use the Anchor.addClickHandler() method!

    Anchor a = new Anchor("text");
    a.addClickHandler(new ClickHandler(){
       // etc
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would just like to setup a new GWT project in Eclipse and use
I have a GWT based page that I would like to create an HTML
I would like to use google maps in my GWT application. The thing is
I create a small CellTable with gwt. In that table I would like to
When I'm creating new project with GWT plug in it creates a skeleton project
I have started learning GWT and I would like to know if it is
I have a view that I created in my GWT application and I would
I would like to craft a GWT CellTree with an optional pop-up menu triggered
I love Eclipse's quickfixes. I use the assign parameter to new field often, but
sorry for stupid question i am new to UI in general and gwt specifically

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.