On Mon, 2004-11-29 at 22:26 +0100, Leszek Gawron wrote: > Jonas Ekstedt wrote: > > > > How about allowing a "context-populator" parameter to the template > > generator. As an example, suppose we want to populate the context with a > > query from a db. > > > > In sitemap: > > > > <map:generate type="template" src="showQuery"> > > <map:parameter name="context-populator" src="com.MyPopulator"/> > > </map:generate> > The question is: do we really need this? Once can always use actions to > populate request attributes with needed data. Looks like a duplication > of functionality.
Agree Cheers Jonas
