MVP questions - Google Web Toolkit | Google Groups - 0 views
-
What is the best way to implement that ? 1) only one couple of presenter/view for object1 and this couple manages the display of object2 in each tab 2) one presenter/view object for object1 and one presenter/view for each instance of object2 ? in other words, do I have one couple of presenter/view by object model ?
More feedback on Activity/Place and how it would/could/should work with History - Googl... - 0 views
-
've started prototyping with Activities and can now give some more feedback on how it compares to my previous own implementation of a PlaceManager and how I used it with MVP.
Client session - Google Web Toolkit | Google Groups - 0 views
-
The way I would do is to define a application event (eg. LocationEvent<LocationHandler>) & handler encapsulating whatever data (ex. co ordinates) that you need to send and fire the event. First presenter fires the event when the mouse is clicked. Second Presenter handles the event and takes appropriate action.
DockLayoutPanel MVP and events - Google Web Toolkit | Google Groups - 0 views
-
how does the PlaceChange Event gets fired?? As of 2.1M2, PlaceController still isn't bound to History, so only PlaceController#goTo will fire first a PlaceChangeRequestedEvent (which can be rejected) and then (if the first hasn't been rejected by listeners) a PlaceChangeEvent.
One v.s N EventBus - Google Web Toolkit | Google Groups - 2 views
-
My application has several modules, and in each module, it may have different layout. Hence I have multiple level of Activity and in each module, I have an ActivityManager and ActivityMapper to create an appropriate Activity according to the Place or return null if not interested. All the ActivityManagers are attached to a global Event bus.
Menu Item and MVP (2) - Google Web Toolkit | Google Groups - 0 views
-
>> Would the MenuItem class need to implement HasClickHandler so that >> when a MenuItem is clicked, the action can be handled in the >> presenter. At this time, the MenuItem needs an object that implements >> the Command interface, so the view seems to know about the presenter. >> I would like to know what others think about this.
DockLayoutPanel MVP and events - Google Web Toolkit | Google Groups - 0 views
-
he generally adopted way of doing things in GWT is to have custom events go through the event bus. In this case, you're talking about "navigation", so maybe the concept of "place" would be better than "just" some custom event. I encourage you to look at gwt-platform, gwt- presenter and other MVP frameworks for GWT, and/or look at the Activity concept from the upcoming GWT 2.1. Using actvities, you'd have an ActivityManager managing your "center". The tree would use the PlaceController.goTo to navigate to a new "place". An ActivityMapper (that you passed to the ActivityManager in the constructor) would map the place to an Activity (a presenter), and the ActivityManager will manage the current Activity for the display it manages, i.e.it will stop() the current activity if its ok (willStop returns true) and then only start the new Activity, which will call the Display back to show its view. The tree would probably also listen to PlaceChangeEvent on the event bus to update the selected item depending on the current place (in case some other component calls the PlaceController.goTo)
Share user input data within MVP + Lady_Gaga - Google Web Toolkit | Google Groups - 0 views
-
use the history and pass the information as parameters in the history token.
-
has a number of advantages provided the parameter is serializable (and small enough). For example, it could let the user bookmark the detail page of "Lady_Gaga". A bit trickier when the presenter is a dialog box, but totally doable.
DockLayoutPanel MVP and events - Google Web Toolkit | Google Groups - 0 views
-
he generally adopted way of doing things in GWT is to have custom events go through the event bus. In this case, you're talking about "navigation", so maybe the concept of "place" would be better than "just" some custom event. I encourage you to look at gwt-platform, gwt- presenter and other MVP frameworks for GWT, and/or look at the Activity concept from the upcoming GWT 2.1.
-
Using actvities, you'd have an ActivityManager managing your "center". The tree would use the PlaceController.goTo to navigate to a new "place". An ActivityMapper (that you passed to the ActivityManager in the constructor) would map the place to an Activity (a presenter), and the ActivityManager will manage the current Activity for the display it manages, i.e.it will stop() the current activity if its ok (willStop returns true) and then only start the new Activity, which will call the Display back to show its view. The tree would probably also listen to PlaceChangeEvent on the event bus to update the selected item depending on the current place (in case some other component calls the PlaceController.goTo)
Web Hook - Asynchronous - Where is my response? - Google App Engine for Java | Google G... - 0 views
-
There is no public API for checking the status of tasks. A task is really nothing more than a normal http request which is monitored by GAE to retry it if it fails. The real brains is in the task queue which is simply a queue of URL's that app engine will fire off at a given rate and retry failed requests. The only public method to check tasks (http requests) in this queue is the console webpage. Its up to you to monitor your tasks yourself by storing some kind of status data in memcache or the datastore.
‹ Previous
21 - 40 of 141
Next ›
Last »
Showing 20▼ items per page