Hi Rohan,

I guess you are trying to user PlaceController in isolation.

>> PlaceController control = new PlaceController(eventBus); 

This is not supposed to work. Have you referred the documentation on 
Activities and Places? Have you run the sample application given in the 
below link?
http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html

// taken from the official docs

        // Start PlaceHistoryHandler with our PlaceHistoryMapper
        AppPlaceHistoryMapper historyMapper= 
GWT.create(AppPlaceHistoryMapper.class);
        PlaceHistoryHandler historyHandler = new 
PlaceHistoryHandler(historyMapper);
        historyHandler.register(placeController, eventBus, defaultPlace);

        RootPanel.get().add(appWidget);
        // Goes to the place represented on URL else default place
        historyHandler.handleCurrentHistory();


Hope this helps!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/nfMchiRKXUMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to