cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Christophersen" <>
Subject Re: Data from generator to multiple frames
Date Wed, 29 Sep 2004 22:45:17 GMT
Thanks for your help.  I think that I am going to have to make another
request of the data for this to work.
I am tasked with displaying the images in an xml data module in a different
frame than the text within the
same module (at the same time as the text of course).

----- Original Message ----- 
From: "Upayavira" <>
To: <>
Sent: Wednesday, September 29, 2004 3:03 PM
Subject: Re: Data from generator to multiple frames

> Craig Christophersen wrote:
> > Hello;
> > I need to display  data from a generator in two different frames.
> > Is there a known way to designate two different xsl's to different
> > frames in a pipeline?
> > <>I want to avoid two requests of the same data(ie. running the same
> > generator twice).
> First answer:
> no.
> More complex answer:
> Basically, the content of each frame constitutes one request. If you
> have a page with two frames, you have three requests, one for the
> frameset page, and one for each frame. You cannot do anything about that
> (other than avoid frames).
> You could potentially cache the content temporarily when the frameset is
> requested, and have the second two requests pull the information from
> this cache, rather than generating it again, but that could be quite
> difficult to implement (the FragmentExtractorTransformer and
> FragmentExtractorGenerator do that, but more specifically for snippets
> of SVG images. You could probably fashion something using flow and
> storing content in the session too.
> Remember, these difficulties are inherent in HTTP, this would, I think,
> be difficult in most web scenarios.
> Hope that helps,
> Regards, Upayavira
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message