Well, I had thought in the sitemap.xmap :)
I see what you mean though; I could subclass a generator/transformer and do
it there.

thanks - see also my reply to David R :)

David


> -----Original Message-----
> From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
> Sent: 20 December 2001 16:36
> To: cocoon-users
> Subject: RE: How do I add objects to the objectModel Map
> 
> 
> Where do you want to do it?
> 
> In a generator/transformer, just do objectModel.put(key, object)...
> 
> tomK
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> > Sent: donderdag 20 december 2001 17:23
> > To: [EMAIL PROTECTED]
> > Subject: RE: How do I add objects to the objectModel Map
> > 
> > 
> > Anyone?
> > Help?
> > 
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: 20 December 2001 00:18
> > > To: [EMAIL PROTECTED]
> > > Subject: 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-gene
> > rator.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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> > 
> ---------------------------------------------------------------------
> > 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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to