cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: create html <map> entries with cocoon?
Date Fri, 08 Mar 2002 19:58:23 GMT
> From: Moritz Petersen [mailto:devmaillist@pnpconsult.com]
> 
> > > From: Moritz Petersen [mailto:devmaillist@pnpconsult.com]
> > >
> > > > > From: Moritz Petersen [mailto:devmaillist@pnpconsult.com]
> > > > >
> > > > > hello cocoon-users!
> > > > >
> > > > > i use cocoon for rendering dynamic images, which are diagrams.
i
> > have
> > > > to
> > > > > link to the diagram items, wich are dynamically positioned.
> > > > > is there an elegant way to create a html <map> with cocoon?
> > > >
> > > > What's the issue?
> > > >
> > > > PS I do not use maps, but I guess it is simple HTML/XML or text.
> > >
> > > the point is that i don't know if i can create the map in the same
> > step as
> > > the image - or better: the other way. i have to include the map in
the
> > html
> > > text and generate the image on the fly...
> >
> > Is it necessary to generate map and the image at the same time? If
yes,
> > take a look at welcome-svg sample and how images are being generated
> > ("extractor" transformer/generator pair). If no, just have two
pipelines
> > - one for image, one for map.
> 
> thank you for your help!
> 
> it is neccessary in that case, that the computing of the diagram is
very
> time intensive; it would be nice to do it with one step. at this
point, the
> question is about caching in cocoon... i could (maybe have to) write
my own
> caching algorithm in the computing class. but it would be more elegant
to do
> it with cocoon.
> is there a way?
> my plan is, to write a generator class, which fetches a lot of values
from a
> database, makes complex calculations and returns the xml code...

Take a look at Cacheable interface. And at implementation of other
generators/transformers.

Vadim


> -moritz.


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message