hi..
i've read about the MVP / place framework, but from all of this i still don't understand how do i persist the state of view i'm LEAVING, so it would mainted on the url, i have no reference the to place i'm leaving from
all i have is the getActivity method with it's place parameter of where it should go.
what i'm trying to do, is to create a 'dynamic' basic place, because if i would go the gwt way of creating MVP i would have to:
1. sub class new Place
2. create a tokenizer for it (even if half my activities have context that's still a lot )
3. register the tokenizer in the "withTokenizers" annotation.
4. create the activity
5. create the view.
step 1-3 could be avoided if i create one basic activity, that would receive a prefix AND context, thus i would have only to create one tokenizer that would get the token (with my prefix and context) and create a new Place with the context.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment