Search code examples
gwtgwt2

Editors framework and MVP


Is there a conflict in development or architecture that prevents me from using Editors inside the View in a GWT MVP application?

I am developing a business application and I am thinking of making Editor widgets for my beans and use RequestFactory. I will place editors inside the views when I need to display or edit single object but I will use CellWidgets when I need to display multiple objects.

Will this make a mess of my application or am i heading to the right direction? What do you recommend according to your experience?


Solution

  • There's no conflict between Editors and MVP. Editors are for easy binding between view and backing beans. Using them together you can fill model via Editor framework.