We are so interesting in the task ROO-318: Add Strategy nature to Entity/Finder.
Is there any schedule or analysis about this?
Ben, we are interested to apply the Strategy pattern to scaffold process. We think it is the best way to customize the view without having to customize related add-ons. For example, we could change the templating technology to SiteMesh without having to customize the addon-web-mvc-controller.
In general, applying the Strategy pattern to add-on dependency will provide Roo with an easier way to decouple add-ons to add third-party add-ons without losing the benefits of base add-ons.
Ben, we can contribute this new feature, just we and you have to agree the technical design. Let us know your thougths.
We agree the strategy pattern is appropriate for third party add-ons to augment/customise the output of the base add-ons. Stefan's rework in MVC is trying to incorporate this, and ROO-318 represents the request for entity services more generally. You'll see an increasing number of Roo add-ons supporting this in the future. We welcome a patch against current SVN trunk for ROO-318 if this is of interest. We can use it as a starting point to see what kind of behaviour you want to have injectable and go from there.
That's sound really good. I have increased our internal priority for this issue, so we will attach the patch to ROO-318 asap.
We've attached or proposal to ROO-318. Lets us to know your thoughts.
Jose Manuel Vivů Arnal ( Chema ) @jmvivo
DiSiD Technologies S.L. (http://www.disid.com)