On Jan 2, 2011, at 10:55 AM, Adrian Crum wrote:

> --- On Sat, 1/1/11, David E Jones <[email protected]> wrote:
>> In Moqui I went a different direction
>> and there is no controller.xml file, everything there is in
>> the screen definition.
> 
> We could do that in OFBiz too. Since the controller.xml file supports the 
> <include> element, it would be a simple matter to add a <controller> element 
> to the compound screen widget file, and then use the controller's <include> 
> element to include the compound screen widget file.
> 
> The more I think about it, the more I like the idea.

You're thinking of having the main controller.xml file include every screen (or 
combined widget, rather) file that does this sort of thing? It's a little 
cumbersome, but maybe less so that the current often large single 
controller.xml files.

-David

Reply via email to