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 arb
-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.
At 10:15 PM 12/20/01 +, you wrote:
>I only want to instantiate my menu/arealogic class once so, no, not a
>generator/transformer; more *like* a generator/transformer, ie at the same
>time as the section.
>kinda like:
>
> method="newfromfile" data="/areamap.xml" poolsize="10"/>
>
>
>
> > I s
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
r 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: [EM
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 {
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
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 objectM