Hi,

I am developing a GWT application with presenter, dispatcher and gin.

I have a presenter which is retrieving an ArrayList<JobPosting>  from
server and firing a ManageJobsEvent.

dispatcher.execute(new GetJobPostings(userId), new
DisplayCallback<GetJobPostingsResult>(display) {

                        @Override
                        protected void handleFailure(Throwable e) {
                                e.printStackTrace();
                                Window.alert(SERVER_ERROR);
                        }

                        @Override
                        protected void handleSuccess(GetJobPostingsResult 
value) {
                                eventBus.fireEvent(new 
ManageJobsEvent(value.getUserId(),
value.getJobPostings()));
                        }

                });



I get the callback to  onPlaceRequest(PlaceRequest request)  of my
another presenter

but how do i get the ArrayList<JobPostings> set in the event.

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