1,for #2,I think all item will correspond to same place,these items are
distinguished by model,but how can I get different models from same
place?

for#1 I don't know what you mean?

And as a suggestion,I think if parameterizing the Place(Place<T>) and
modifying Activity.start(AcceptsOneWidget panel, EventBus eventBus) to 
Activity.start(Place<T> place, EventBus eventBus) can solve many
problems.for #1 parameterizing place to Place<tabIndex>,and
for#2,Place<idOfItem>.and ActivityMapper.getActivity(Place place) can be
adjusted to return list of activity that will be effected,otherwise,for
one-place--->multiple-activity case,far more things must be
done:multiple ActivityManagers,etc.I think,if possible, one
ActivityManager per application is better.
On Tue, 2011-01-11 at 22:08 -0800, Y2i wrote: 
> #2 is a classic example of where MVP suits well.  You can just follow
> these guidelines:
> http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html
> 
> For #1 it's better to use TabBar (instead of TabPanel/TabLayoutPanel)
> and handle selection events to navigate to different places.  This
> approach reduces #2 to #1.
> 
> On Jan 11, 6:54 pm, Alex Luya <[email protected]> wrote:
> > for example:
> > 1,switch among different tabs in tab panel,should I creates cactivities
> > for every tab?
> > 2,switch among different item in a list.such as view different thread in
> > this group?
> 




-- 
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