Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 73182 invoked by uid 500); 18 Dec 2001 18:18:11 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 73162 invoked from network); 18 Dec 2001 18:18:10 -0000 Message-ID: <18F49733FEE5D5119A590000F8FE9A9401CD2FD6@mbtlipnt01.btlabs.bt.co.uk> From: david.greaves@idl-bt.com To: cocoon-dev@xml.apache.org Subject: How do I add objects to the objectModel Map Date: Tue, 18 Dec 2001 18:16:13 -0000 X-Mailer: Internet Mail Service (5.5.2654.89) MIME-version: 1.0 Content-type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: (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 --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org