Wednesday, November 18, 2015

RequestFactory, frozen autobeans, and MVP

I'm trying to convert an app from using plain JSON to using RequestFactory.  The app has a view and presenter.  So, I use the RequestFactory to get Contact instances, and pass them on the view to edit.  But, the editing runs into an issue with the AutoBean being frozen.  Without MVP, I would just open a request, invoke edit and pass the bean, and be done.  But, it doesn't seem right to now do that in the view.  And, I have an issue with holding a request open just to enable editing the bean, when it's conceivable that the user will bail out and not end up saving their changes.

So, what would the best flow be for this situation?

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment