Your SlideShare is downloading. ×
What's New in GWT 2.2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

What's New in GWT 2.2

2,804
views

Published on

GWT development with RequestFactory, cell widgets, Activities and Places

GWT development with RequestFactory, cell widgets, Activities and Places

Published in: Technology

2 Comments
1 Like
Statistics
Notes
  • Hi Anshuman, you can find sample code at http://code.google.com/p/listwidget. It uses an ActivityManager for the nav panel on the left whereas it could just listen for PlaceChange events, but should get you started. Re: activity state, you write a PlaceTokenizer for each place that serializes the state to a String that ends up in the URL. Typically the constructor of your Place will take objects representing the current state so you can call PlaceController.goTo(new Place(arg1,arg2,etc)). The PlaceTokenizer also deserializes the URL String into a Place object, which then gets passed to the ActivityMapper's getActivity(Place place) method when you can reset the state of the Activity for that Place.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi,
    On page 47 i cannot quite understand your strategy with 2 placeChangeHandlers and 2 widgetlists each for an activitymanager. Can you kindly share sample code for the above ? I am actually quite confused with the concept of places which you have described as the bookmarkable state of an activity. Then if so how is the state of that activity restored ?
    Thanks in advance
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
2,804
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
70
Comments
2
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide