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: XSP Caching & Cinclude
Date Tue, 13 Aug 2002 12:49:05 GMT
> From: Michael Zehrer [mailto:Zehrer@optimal-systems.de]
> 
> Hi Vadim,
> 
> Yes, but how do i validate against a session attribute? The example
> shows just request.getParameter("param"), Session.getAttribute gives
an
> error.

request.getSession().getAttribute()?

There is no 'session' field declared in the XSP, only local variable in
generate() method. Which could be changed, btw... if it makes sense.

 
> Is there anything I can do about the Cinclude?

There is CachingCIncludeTransformer.

PS This topic was discussed some time ago

Vadim

 
> Michael
> 
> -----Urspr√ľngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Gesendet: Montag, 12. August 2002 16:40
> An: cocoon-users@xml.apache.org
> Betreff: RE: XSP Caching & Cinclude
> 
> 
> > From: Michael Zehrer [mailto:Zehrer@optimal-systems.de]
> >
> > Hi List,
> >
> > can someone explain the miracles of XSP caching to me. In my case I
> > have
> > a xsp generator, which includes data from the session, a taglib, and
> > some static xml from the Cinclude transformer, I want at leat the
> > Cincluded data to be cached.
> 
> In XSP, you decide what and how to cache. See cacheable.xsp in
examples.
> 
> If you want to store several results of this XSP, you generate
different
> keys. Then, you provide validity for each of these results.
> 
> Vadim
> 
> 
> > Michael


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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