Re: Place, history url does not change

2011-10-21 Thread Rikard Hultén
1. The PlaceController is created once in the client factory, so it should be singleton 2. Not sure what you mean by bind? I look up activity from place in the ActivityMapper just as in the example 3. Rest assured I do have two activities, implementing the presenter interface from each view

Re: Place, history url does not change

2011-10-21 Thread Thomas Broyer
On Thursday, October 20, 2011 8:40:12 PM UTC+2, Rikard Hultén wrote: The Tokenizers never get hit no, which is interesting but I don't know how where to continue searching... Not sure what you mean by DefaultHistorian? That one:

Re: Place, history url does not change

2011-10-21 Thread Rikard Hultén
Thank you very much Thomas, when breaking on tokenForPlace in PlaceHistoryHandler I saw that it did not find a place for my token, although it was the correct token-string. Turned out I had declared the same tokenizer twice in my AppPlaceHistoryMapper (the places are called TaskListPlace and

Place, history url does not change

2011-10-20 Thread Rikard Hultén
I wan't the plain vanilla activites, places and history handling just as explained on GWT site. The place and activity seems to work, the placeChangeEvent is fired and all but the URL does not change. This is when I have a Anchor-widget with a clickhandler that uses the presenter.goTo if I

Re: Place, history url does not change

2011-10-20 Thread Thomas Broyer
If you set breakpoints in your PlaceTokenizers and in DefaultHistorian, are they correctly hit? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Place, history url does not change

2011-10-20 Thread Rikard Hultén
The Tokenizers never get hit no, which is interesting but I don't know how where to continue searching... Not sure what you mean by DefaultHistorian? In the AppPlaceHistoryMapper interface I just enumerate my tokenizers from the places in the @WithTokenizers, just like in the

Re: Place, history url does not change

2011-10-20 Thread Ashton Thomas
You have presenter.goTo(new MyPlace()); but why isn't it placeController.goTo(new MyPlace());?? Sorry not sure how your app is set up but I know I just inject the PlaceController and call it directly and then that eventually hits ActivityManager that calls the next Activity while the url is

Re: Place, history url does not change

2011-10-20 Thread Rikard Hultén
I have tried to set things up like in the article on the GWT page. The presenter does looks up the placecontroller and invokes its goTo, this changes the place and the new activity is started, but the URL stays the same :( -- You received this message because you are subscribed to the Google

Re: Place, history url does not change

2011-10-20 Thread Rohan Aggarwal
I have faced similar problem, I think below are few from code snippet: 1. Placecontroller should be singleton across ur app. 2. You should bind activity and Place ... 3. I am not seeing any activities in ur sample. On Fri, Oct 21, 2011 at 10:14 AM, Rikard Hultén rikardhul...@gmail.comwrote: