Continuing my conversation with myself....
Well, continue, this conversation is very interesting ;-)
Seriously, having woody templates in a generator is IMO a must have, as there are many cases where just "inserting" widgets is not enough, and the page structure depends on the properties of the widgets.
An example is repeaters, where we may want a different display for empty repeaters and non-empty repeaters.
BTW, this work heavily relies on jx:evalBody which I never heard of before. This greatly enhances the power of macros.
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
