You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by da...@idl-bt.com on 2001/12/20 01:18:28 UTC

How do I add objects to the objectModel Map

Hi

I hope this is straightforward...

How do I add objects to the objectModel Map?

http://xml.apache.org/cocoon/userdocs/generators/velocity-generator.html
says:
<export-object key="objectMapKey" name="velocityContextName"/> (optional;
0..n) - Export the object specified by key from the Cocoon object map to the
Velocity context of the template. The object can be accessed from the
template as name. Be careful to use a valid VTL variable name. 

I've looked through the code but can't figure this one out.

David


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>