Questions tagged [gwt-activities]

GWT 2.1 introduced a built-in framework for browser history management. The Activities and Places framework allows you to create bookmarkable URLs within your application, thus allowing the browser's back button and bookmarks to work as users expect.

GWT 2.1 introduced a built-in framework for browser history management. The Activities and Places framework allows you to create bookmarkable URLs within your application, thus allowing the browser's back button and bookmarks to work as users expect.

51 questions
2
votes
1 answer

GWT using Activities and Places when screen layout changes per place

My understanding of GWT's Activities and Places is that for a given region on a screen you have an ActivityManager and an ActivityMapper. You can have multiple regions on the screen which means you can have multiple ActivityManagers and…
tleef
  • 3,516
  • 1
  • 24
  • 34
1
vote
1 answer

GWT multiple dialogs application architecture and MVP/Activities/Places

GWT Activities/Places/MVP concepts were discussed quite a lot here, but I haven't found a good example of how to apply those concepts to a multi dialog portal-like GWT application. I'm working on a GWT application that should have multiple…
dimchez
  • 2,004
  • 1
  • 15
  • 9
1
vote
2 answers

Using GWTs activities and places can I navigate to a previous page without using History.back()?

I am using GWTs Activities and Places pretty much as described on http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html and it is all working fine. What I would like to do is from a particular page navigate to the previous…
pillingworth
  • 3,238
  • 2
  • 24
  • 49
1
vote
3 answers

Suggested way to encode name/value pairs in the Token of a GWT Activitie's place Token

In GWT using the History/Activities/Places apis you end up with urls like this http://192.168.0.104:8888/brokerage.html?gwt.codesvr=192.168.0.104:9997#StartPlace:params Where the word params is the place "token" where parameters can be passed into…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
1
vote
1 answer

How to handle invalid GWT token in places

In Contacts project, if a user entered an invalid token for contact editing, how to should handle it, for example, instead of #contactId:12 , entered #contactId:abc. Or in another app, maybe for security reason (such as authorization), the user does…
Askar
  • 544
  • 1
  • 6
  • 17
1
vote
2 answers

GWT Activities & Places - Panel in EntryPoint

Going over the GWT Activities and Places tutorial (here: http://www.gwtproject.org/doc/latest/DevGuideMvpActivitiesAndPlaces.html), a SimplePanel is constructed in onModuleLoad() in the EntryPoint class and then added to the RootPanel. Doesn't this…
AfterWorkGuinness
  • 1,780
  • 4
  • 28
  • 47
1
vote
1 answer

GWT: A way to cancel PlaceChangeEvent?

I'm using Activity/Place in my GWT project, if current user is not logged in, when he navigates to some Place, the user will be redirect to login page, if the user has logged in, then he will be taken to that Place. How to implement this logic…
Mike
  • 3,515
  • 10
  • 44
  • 67
1
vote
2 answers

GWT Places/Activities versus GWTP PlaceManager

I am new to GWT and I am a bit confused if I should use GWTP PlaceManager or GWT Places/Activities. I read into GWTP and the PlaceManager and it seems pretty easy and works with less code than Activities, Places and the Mapper which seems really…
nsrlady
  • 105
  • 1
  • 6
1
vote
1 answer

Key Listener called again and again if I click on Browser's back Button with Activity and Places in GWT

I am creating search page and I have use activity and places in GWT. I have used Key Listener so when user press Enter it redirect user on result page. Problem is that when user use browser back button and again press enter Key Listener call twice…
Sweta
  • 135
  • 1
  • 9
1
vote
1 answer

GXT + GWT MVP in a single application?

I am working on this project which uses 100% gxt code. Now we have another small project which is written using GWT MVP pattern and we are tasked to integrate the 2 projects into one.So pretty much we will be making back and forth method calls…
yonikawa
  • 581
  • 1
  • 9
  • 32
1
vote
2 answers

Should GWT Activities/Places be Singletons or Prototypes?

What's the difference (performance and otherwise) between this: public class MyPlaceMapper implements PlaceHistoryMapper { @Override public String getToken(Place place) { if(place instanceof HomePlace) return "home"; …
user1768830
1
vote
1 answer

Ratio of GWT Places to Activities to Screen?

I'm trying to write a GWT app that reuses the same template for every "page" (place). There are 4 main "pages" of the app: Dashboard page (http://www.mywebapp.com/#dashboard) Calculator page (http://www.mywebapp.com/#calc) Configurator page…
user1768830
1
vote
0 answers

GWT MVP: Connecting the Dots on Presenters, Activities, Displays & Places

I am attempting to design my first, super-simple GWT app, that takes advantages of most of GWT's major API features. I think I'm about 70 - 80% of the way there, but after pouring over the GWT docs, countless articles, and posting many other…
Bantha Fodder
  • 1,242
  • 1
  • 11
  • 19
1
vote
1 answer

Recurring action when a user leaves a place

I want to schedule a recurring action in my Activity (I am using Activities and Places design pattern). When my user leaves a place associated with this activity, how quickly can I expect this action to stop? Will the inclusion of the recurring…
Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
1
vote
1 answer

Relation of GWTP to GWT MVP and Activities/Places

My understanding of GWT is that it was first released with the concepts of Activities and Places to support the idea of the UI as a state machine, where each state is a bookmarable configuration of the UI. My understanding is that GWT later released…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756