Well, the current situation isn't any more "modular" or "natural". We have to
specify a LookupProduct that points to the product lookup screen in
applications/product/ in a bunch of different web apps that need it.
The only difference of putting them in one controller.xml is that it will cut
down code bloat a little and speed up development a small amount. It's slightly
more pragmatic from the developer's perspective than the present situation.
- Leon
David E. Jones wrote:
I agree with what Adrian wrote on this one...
The lookup screens should be defined in their most natural component. If
we were to have an include file for lookups across many components,
which component would be put it in?
-David
On Feb 8, 2007, at 12:57 PM, Adrian Crum wrote:
At first glance this would seem like a logical thing to do. The
downside is you would lose modularity. In other words, there may be
complications with installations that don't mount all components.
Leon Torres wrote:
Hi folks, I saw that an <include> directive is possible in
controller.xml and was wondering if we should put all the Lookups
like LookupProduct in one xml for convenience. This will allow
applications to take advantage of all available lookups in the system
without having to duplicate the request and view maps.
It would be nice to start organizing all these requests. :-)
- Leon