Hi!
I'm new to GWT but would like to get started with a simple
application. I just can't figure out how hyperlinks work in GWT.
public void onModuleLoad() {
Hyperlink robert = new Hyperlink("Robert", "robert");
RootPanel.get("robert").add(robert);
I guess I sh
Hi Robert-
Creating a hyperlink probably isn't the first thing you want to do.
You'll likely want to play around with panels and labels and images
and then start adding click handlers to those things.
A hyperlink is very similar to a label, but it also carries history
information. That's almost
Rjcarr is right in that you probably don't need a specific hyperlink
object unless you need history support.
In terms of events and wanting something to happen when your element
has clicked GWT uses the notion of ClickHandlers:
API:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/go
also if you only seek the functionality you should look at the
Anchor object
On Mar 14, 7:33 pm, eggsy84 wrote:
> Rjcarr is right in that you probably don't need a specific hyperlink
> object unless you need history support.
>
> In terms of events and wanting something to happen when your eleme
Hi everyone,
opening an URL like http://randomserver.com/file?get=randomXML returns a
XML-file. I don't have access to the server.
Now i am trying to receive this data and give it out in my gwt-app.
I have tried modifying the code from this tutorial :
http://www.gwtproject.org/javadoc/latest/com
On Monday, June 13, 2016 at 9:40:34 AM UTC+2, Hans Dampf wrote:
>
> Hi everyone,
>
> opening an URL like http://randomserver.com/file?get=randomXML returns a
> XML-file. I don't have access to the server.
> Now i am trying to receive this data and give it out in my gwt-app.
> I have tried modify
I am new at GWT, but I have working on the MVP tutorial and have
encountered some problems:
from my EntryPoint class:
public void onModuleLoad() {
HandlerManager eventBus = new HandlerManager(null);
AppController appController = new AppController(eventBus);
I can't see how it's happening in your case (either there's more
relevant code or it's very early in the morning!) but I've previously
come across a similar problem. The SimpleEventBus, on which
HandlerManager is based, uses deferred methods to only apply changes
to the handler lists after the curr
Thanks for the reply Chris!
Meanwhile I figured out the problem; it was a stub implementation by
eclipse that I've forgotten in the LogOutEvent class...
On Feb 15, 6:08 am, Chris Price wrote:
> I can't see how it's happening in your case (either there's more
> relevant code or it's very early in