Re: GWT 2.1 MVP Multiple activities clarification help

2014-01-01 Thread Ronan Quillevere
I know it might be an old topic, but I have tried to implenent thomas idea ( http://tbroyer.posterous.com/gwt-21-activities-nesting-yagni ) in this github project. I will be happy to have some comments/suggestions. https://github.com/ronanquillevere/GWT-Multi-Activities Regards On Wednesday,

Re: GWT 2.1 MVP Multiple activities clarification help

2012-06-09 Thread chillyspoon
Another +1 for Mauro's example. Definitely the cleanest sample implementation that I've seen to date and demonstrates further Thomas' good work in his article. Thanks guys! On Thursday, 23 December 2010 16:29:21 UTC, Mauro Bertapelle wrote: As an exercise I've build a little POC based on

Re: GWT 2.1 MVP Multiple activities clarification help

2011-06-24 Thread Mauro Bertapelle
There are a couple of bugs in my example related to the filtering/ caching of horizontal/vertical master activities: 1) the order between caching and filtering activity in CachingHorizontalMasterActivityMapper and CachingVerticalActivityMapper is wrong: public class

Re: GWT 2.1 MVP Multiple activities clarification help

2011-06-24 Thread Ustad
Thanks so much for the update Mauro.I'm still struggling to wrap my head around MVP and activities places.I'm going to start very small and use your code as my baseline. Just some clarification Mauro, the idea of the MVP pattern is used to decouple the view from the presenter with the

Re: GWT 2.1 MVP Multiple activities clarification help

2011-06-24 Thread Thomas Broyer
On Friday, June 24, 2011 3:45:09 PM UTC+2, ustad wrote: Thanks so much for the update Mauro.I'm still struggling to wrap my head around MVP and activities places.I'm going to start very small and use your code as my baseline. Just some clarification Mauro, the idea of the MVP

Re: GWT 2.1 MVP Multiple activities clarification help

2011-06-15 Thread ustad
Hi all, I'm new to GWT (and more of an advanced beginner with java at that too) and I just worked through the stockwatcher example as posted on the official google page using the latest gwt 2.3 sdk and plugin using eclipse. So far so good. However, when trying to incorporate an MVP design

Re: GWT 2.1 MVP Multiple activities clarification help

2011-06-15 Thread Juan Pablo Gardella
Check this samplehttps://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home 2011/6/15 ustad ustadha...@gmail.com Hi all, I'm new to GWT (and more of an advanced beginner with java at that too) and I just worked through the stockwatcher example as posted on the official google page using the

Re: GWT 2.1 MVP Multiple activities clarification help

2011-06-15 Thread tanteanni
i didn't read all post, but i ran into similar problems. now i got something that's working for me: i decoupled activities/places and MVP (what thomas suggested in many places). in my case the VP-pairs are controlling/filling display areas and one activity is starting/ controlling them.

Re: GWT 2.1 MVP Multiple activities clarification help

2011-05-19 Thread karthik reddy
I have ran into a interesting situation using Mauro's example[A hit tip to Mauro in helping the community to navigate the waters of Activities and Places]: Lets say, I first access http://95.110.143.4/layoutmvp/layoutmvp.html#inbox:list As expected, it shows me the Inbox. Then, lets say, I

Re: GWT 2.1 MVP Multiple activities clarification help

2011-04-07 Thread Glenn
Hi Mauro, Thank you for the excellent example, it has been a great help to me. In comparing layoutmvp to layoutmvp-gin, it seems to me that the latter is much more complex and much more code; i.e., that GIN is a net loss here. I can see how it could be useful in a limited way for swapping

Re: GWT 2.1 MVP Multiple activities clarification help

2011-02-23 Thread Mauro Bertapelle
Ernesto, CachingHorizontalMasterActivityMapper is just a wrapper for CachingActivityMapper and FilterActivityMapper. The layout of our example requires that both master and detail display regions are simultaneously visible. This means that when a user navigate to a detail place, even the master

Re: GWT 2.1 MVP Multiple activities clarification help

2011-02-22 Thread ernesto.reig
Thank you very much Mauro for the great example and Thomas for his post. There´s something I don´t understand: What´s the purpose of CachingHorizontalMasterActivityMapper and CachingVerticalMasterActivityMapper? what are their functions? how do they fit with the rest of the classes/project? Thank

Re: GWT 2.1 MVP Multiple activities clarification help

2011-01-07 Thread Mauro Bertapelle
karthik, glad you find my example useful, but please consider it just a basic demonstration of the concepts expressed by Thomas in his article, far from being a complete implementation of an app based on the new Activity/Place model. As Thomas pointed out, MailListActivity need to be informed of

Re: GWT 2.1 MVP Multiple activities clarification help

2011-01-07 Thread nacho
Very nice example Mauro! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: GWT 2.1 MVP Multiple activities clarification help

2011-01-07 Thread Shubhang Mani
+1 great example ! It's the best working example I've seen thus far that illustrates MVP with activities/places as well as uiBinder. I was finally able to understand how to control navigation in a content pane from a non-display region. All it needs now is GIN :-) Thanks for putting this out

Re: GWT 2.1 MVP Multiple activities clarification help

2011-01-06 Thread karthik reddy
Hi Mauro Your example is turning out to be very helpful. I ran into one issue I thought I might communicate to you. When you click the Mail activites button, and then select the first entry of the mail list (i.e., viva...@seddiamlorem.ca) the details are populated in Mail Details. Similary if

Re: GWT 2.1 MVP Multiple activities clarification help

2011-01-06 Thread Thomas Broyer
Because of the CachingActivityMapper and FilteredActivityMapper (found in CachingHorizontalMasterActivityMapper), the MailListActivity isn't restarted between place changes between MailDetailPlace-s (and MailListPlace-s). As it doesn't listen to PlaceChangeEvent, its not even aware of the

Re: GWT 2.1 MVP Multiple activities clarification help

2010-12-24 Thread Milan Cvejic
Great, thanks you for help. I already managed to create working code, but will take a look at your example. Probably I will learn a lot. Sincerely Milan On Dec 23, 5:29 pm, Mauro Bertapelle mauro.bertape...@gmail.com wrote: As an exercise I've build a little POC based on the concepts expressed

Re: GWT 2.1 MVP Multiple activities clarification help

2010-12-23 Thread Mauro Bertapelle
As an exercise I've build a little POC based on the concepts expressed by Thomas in his article. If someone is interested, the sources are here: http://95.110.143.4/layoutmvp/layoutmvp.tar.gz and here you can find a live demo: http://95.110.143.4/layoutmvp/layoutmvp.html -- You received this

Re: GWT 2.1 MVP Multiple activities clarification help

2010-12-16 Thread Thomas Broyer
I must confess I never actually tested the setWidgetVisible part of the code (in a prototype, I had a DockLayerPanel and used remove/add, without a containing SimplePanel-like widget, for a similar effect). Étienne Pelletier said in the comments that it indeed doesn't work as expected (and

GWT 2.1 MVP Multiple activities clarification help

2010-12-15 Thread Milan Cvejic
Helo, i tried to understand post at http://tbroyer.posterous.com/gwt-21-activities-nesting-yagni but with no luck :( I tried following code: package com.hellomvp.client; import com.google.gwt.activity.shared.ActivityManager; import com.google.gwt.activity.shared.ActivityMapper; import