-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 5:50 PM
To: [EMAIL PROTECTED]
Subject: RE: How do I add objects to the objectModel Map
snip
The set_download action that I'm calling is really small. All it does is
set a response
At 08:13 AM 12/21/01 -0500, you wrote:
Is there any way *short* of a custom action to set response headers just
prior to serialization? All I wish to do is to adjust response headers to
promote short-term cacheing by an HTTP proxy (i.e., I need to set the
Expires header to a date-time some
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?
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
I've never used the velocity generator before so I may be off-base. But IIUC ...
I don't think you generally add objects into the map. Rather, the map comes
pre-populated with objects that your code needs: request, response, etc.
e.g.:
public class
YourGenerator extends ComposerGenerator {
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
Inline...
-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: 20 December 2001 16:44
To: [EMAIL PROTECTED]
Subject: RE: How do I add objects to the objectModel Map
I've never used the velocity generator before so I may be
off-base. But IIUC