newbie help

2010-03-11 Thread _Robert_
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

Re: newbie help

2010-03-13 Thread rjcarr
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

Re: newbie help

2010-03-14 Thread eggsy84
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

Re: newbie help

2010-03-15 Thread Ashar Lohmar
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

Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Hans Dampf
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

Re: Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Thomas Broyer
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

Newbie help with HandleManager (eventbus) not registrering handler for event in MVP tutorial (modified)

2012-02-14 Thread claus.jespep...@googlemail.com
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);

Re: Newbie help with HandleManager (eventbus) not registrering handler for event in MVP tutorial (modified)

2012-02-14 Thread Chris Price
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

Re: Newbie help with HandleManager (eventbus) not registrering handler for event in MVP tutorial (modified)

2012-02-15 Thread claus.jespep...@googlemail.com
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