Hello,

I converted all my project to GWT 2.1 Activity/Place following the concept
described on
http://code.google.com/intl/fr/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html
But, doing this work, I came to a question : Why do we have to set a name in
the place constructor ?

A place generate a #ClassName:Token in the url. Would not be easier to just
generate a #Token ?

In my opinion it seems a bit complicated to manager class instead of an enum
or string constant for each place.
A simplification would be to only have 1 place class with a new token
(string) for each place, or severals class but with an empty constructor
that initializes its name with a constant.

But I may have not really understood the real advantage of the
#PlaceClass:Token, so maybe someone could help me ?

Thanks,

Nicolas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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