I'm stumped on how dumb I can make a particular view. Maybe this is
another thread, but I have a view with two FormPanels, each FormPanel
holding a FileUpload. In my onSubmitCompleteHandlers, I'd like the
view to respond, in once case by calling an RPC function. How do I get
all this into my presen
We use a slight various of Thomas' suggestion. We introduced a new
interface / class called a "Broker" which we define all of our rpc
calling methods in. Then be default we typically have the activity
implement the Broker interface, but if need be we could have a new
class implement it. We pass
One of the goal of MVP is to make your presentation logic quickly & easily
testable (in GWT, that means using "pure JUnit" rather than the sluggish
GWTTestCase). As a result, you'd like to make you view as "dumb" as possible
(without necessarily pushing everything to presenter though, as it'd lo
I have an application that uses the new Places and Activities
methodology.
In my View interfaces I have methods such as :
HasValue getSubject();
HasValue getType();
Type is a simple POJO that has an id and name. The selections
available for this is driven from the result of an RPC call.