Re: UI handling doubt in MVP

2012-01-14 Thread Thomas Broyer
On Friday, January 13, 2012 9:05:22 AM UTC+1, Qrunk wrote: Hi , Im a bit confused as in what does UI handling is meant in http://code.google.com/webtoolkit/articles/mvp-architecture.html, which is to be handled by the presenter. First: skip directly to the part 2 article. Say I have

Re: UI handling doubt in MVP

2012-01-14 Thread Qrunk
thanks for the prompt replies . I think I got the perfect answers -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/OBx_8uKSmc4J. To post to

Re: UI handling doubt in MVP

2012-01-14 Thread Qrunk
Hi, Using the Editor framework though blurs the line between presenter and view Can you please elaborate this and would be very useful if you do that using an example. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

UI handling doubt in MVP

2012-01-13 Thread Qrunk
Hi , Im a bit confused as in what does UI handling is meant in http://code.google.com/webtoolkit/articles/mvp-architecture.html, which is to be handled by the presenter. Say I have a case where when I change my combo box , I want a UI widget(Text Box ) to be disabled. Now here there are two

Re: UI handling doubt in MVP

2012-01-13 Thread Eric Metcalf
You want to put all of your logic into the presenter without putting any of the widget code in that would prevent tests from running. For the ListBox you want to declare a ChangeHandler on it in the Presenter. To do that you have the View return back the ListBox as an interface of