You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Bernhard Huber <be...@a1.net> on 2003/01/27 23:11:30 UTC
Re: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation
EncodeURLTransformer.java
hi,
cziegeler@apache.org wrote:
> cziegeler 2003/01/26 23:43:33
>
> Modified: src/java/org/apache/cocoon/transformation
> EncodeURLTransformer.java
> Log:
> - Fixing caching logic for encode url transformer
>
> - turning off caching, because you get wrong cached content, *if* the session is created during processing
>
thx for fixing the fix....
bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
AW: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation EncodeURLTransformer.java
Posted by Marco Rolappe <m_...@web.de>.
caching seems a better point than creating sessions while generating
content...
I think this should be documented/added to the FAQ then. Just didn't why my
urls weren't encoded when creating my session via create-session="true",
until I found out about the way the pipeline was setup.
another thing is to modify the request logicsheet accordingly so that a
create-session="true" leads to corresponding code in the generated
generator's ;-) setup() method.
> -----Ursprungliche Nachricht-----
> Von: cocoon-dev-return-35797-m_rolappe=web.de@xml.apache.org
> [mailto:cocoon-dev-return-35797-m_rolappe=web.de@xml.apache.org]Im
> Auftrag von Carsten Ziegeler
> Gesendet: Dienstag, 28. Januar 2003 16:42
> An: cocoon-dev@xml.apache.org
> Betreff: RE: cvs commit:
> xml-cocoon2/src/java/org/apache/cocoon/transformation
> EncodeURLTransformer.java
>
>
> With the recent changes, the encode url transformer does not support
> caching anymore. In order to support caching the transformer *must*
> know, if a session is available or not; otherwise you might get
> wrong cached results or do not have the correct url encoding.
>
> I would really appreciate it if we could make the assumption
> from above so the transformer can support caching again.
> Apart from that, you will get problems if you create/destroy a
> session when the processing of the xml pipeline has started,
> therefore I can only give the advice to create a session
> in actions and nowhere else.
>
> Any other ideas?
>
> Carsten
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation EncodeURLTransformer.java
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
With the recent changes, the encode url transformer does not support
caching anymore. In order to support caching the transformer *must*
know, if a session is available or not; otherwise you might get
wrong cached results or do not have the correct url encoding.
I would really appreciate it if we could make the assumption
from above so the transformer can support caching again.
Apart from that, you will get problems if you create/destroy a
session when the processing of the xml pipeline has started,
therefore I can only give the advice to create a session
in actions and nowhere else.
Any other ideas?
Carsten
> -----Original Message-----
> From: Bernhard Huber [mailto:berni_huber@a1.net]
> Sent: Monday, January 27, 2003 11:12 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: cvs commit:
> xml-cocoon2/src/java/org/apache/cocoon/transformation
> EncodeURLTransformer.java
>
>
> hi,
>
> cziegeler@apache.org wrote:
> > cziegeler 2003/01/26 23:43:33
> >
> > Modified: src/java/org/apache/cocoon/transformation
> > EncodeURLTransformer.java
> > Log:
> > - Fixing caching logic for encode url transformer
> >
> > - turning off caching, because you get wrong cached content,
> *if* the session is created during processing
> >
> thx for fixing the fix....
> bernhard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org