Create a simple selector to check if the file exists, and if it doesn't call pipeline
A.
David
-Mensaje original-
De: Ali Mesbah [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 19 de junio de 2003 14:10
Para: [EMAIL PROTECTED]
Asunto: pipeline dependencies
Hi,
Is it possible
As quoted from Upayavira [EMAIL PROTECTED]:
Is it possible to define pipeline dependencies in the sitemap?
Imagine I have two pipelines A and B.
Pipeline B has a SourceWritingTransformer and all it does is writing a
generated document on the filesystem. Pipeline A has its own
If you can get pipeline B to cache, then it will only write if the
source of that pipeline has changed.
Then, if necessary, you can ignore the aggregated output from
pipeline B, but it is just there to enforce the dependency.
All depends upon the caching of the
As quoted from Upayavira [EMAIL PROTECTED]:
Another way you can do it is read your original content from disc, then transform it
into something like:
xml
source:write
contentBlah/content
/source:write
contentBlah/content
/xml
This way you repeat your content twice, once to
The thing is I generate a stylesheet in B which is used in A (and in
other pipelines):
match pattern=B
map:generate src=resources/{filename}.xml/
map:transform src=styles/Meta_output.xsl/
map:serialize type=xml/
/map:match
Note that the output of B is a stylesheet (say
As quoted from Upayavira [EMAIL PROTECTED]:
Ali,
Have you seen:
http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets
Maybe that'll help.
It works indeed. I see what I was doing wrong;
In my Meta_output at some places I had something like:
xsl:text disable-output-escaping=yes
Hi,
Is it possible to define pipeline dependencies in the sitemap?
Imagine I have two pipelines A and B.
Pipeline B has a SourceWritingTransformer and all it does is writing a generated
document on the filesystem.
Pipeline A has its own generator and transformer but it depends on the document
Is it possible to define pipeline dependencies in the sitemap?
Imagine I have two pipelines A and B.
Pipeline B has a SourceWritingTransformer and all it does is writing a
generated document on the filesystem. Pipeline A has its own generator
and transformer but it depends on the document
PROTECTED]]
Gesendet am: Mittwoch, 12. Dezember 2001 17:49
An: [EMAIL PROTECTED]
Betreff: RE: XSP page getting called TWICE! (was: Pipeline
dependencies)
Ah, but that's the rub. It's only invoked in one place in
the Java code, and yet it gets called twice.
Cocoon itself is calling
]
Betreff: RE: XSP page getting called TWICE! (was: Pipeline
dependencies)
Ah, but that's the rub. It's only invoked in one place in
the Java code, and yet it gets called twice.
Cocoon itself is calling this pipeline twice, for some
reason, and I have no idea why.
Thanks
your matcher to be invoked twice).
Best wishes,
Nick
-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 12:01 AM
To: [EMAIL PROTECTED]
Subject: RE: XSP page getting called TWICE! (was: Pipeline
dependencies)
I did. From
).
Best wishes,
Nick
-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 12:01 AM
To: [EMAIL PROTECTED]
Subject: RE: XSP page getting called TWICE! (was: Pipeline
dependencies)
I did. From the trace, it seems like
Title: RE: XSP page getting called TWICE! (was: Pipeline dependencies)
Probably totally irrelevant but if it stimulates thinking then maybe it will be a slight help: We had a performance problem in house once and in the course of debugging found that whenever an sql select was called
page getting called TWICE! (was: Pipeline dependencies)
I posted this a couple of times here, as well as once to the Dev list. No
one's written back with any suggestions so far.
I hope y'all don't mind, but I'd like to post this one more time. It's
really stumping me! Please help
]]
Sent: 11 December 2001 15:37
To: [EMAIL PROTECTED]
Subject: Re: XSP page getting called TWICE! (was: Pipeline dependencies)
I posted this a couple of times here, as well as once to the Dev list. No one's
written back with any suggestions so far.
I hope y'all don't mind, but I'd like to post
PROTECTED]
Subject: Re: XSP page getting called TWICE! (was: Pipeline dependencies)
I posted this a couple of times here, as well as once to the Dev list. No
one's written back with any suggestions so far.
I hope y'all don't mind, but I'd like to post this one more time. It's
really stumping me
Anyone have any thoughts on this?
What could cause an XSP page to get called twice in the same request?
Tnx!
DR
At 12:07 PM 12/7/01 -0500, you wrote:
Actually, regarding the setup below (which I mentioned in another message), I'm
having a problem with it and would appreciate some help.
Hello!
Does anybody know is that possible to make one pipeline to be dependent
on another?
Like I have a 2 frames in result - left frame is processed by one
pipeline and right - by another.
I want to be sure that the 'left' pipeline is executed first, because it
produces some data, used by the
- Original Message -
From: Nick Entin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 12:02 PM
Subject: Pipeline dependencies
Hello!
Does anybody know is that possible to make one pipeline to be dependent
on another?
Like I have a 2 frames in result - left
Entin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 12:02 PM
Subject: Pipeline dependencies
Hello!
Does anybody know is that possible to make one pipeline to be dependent
on another?
Like I have a 2 frames in result - left frame is processed by one
pipeline
Actually, regarding the setup below (which I mentioned in another message), I'm having
a problem with it and would appreciate some help.
Take a look at the sitemap segment below. And let me clarify it a bit too:
The XSL stylesheet that I'm using in the transform on pd/mergedoc.html is
Anyone have any thoughts on this?
What could cause an XSP page to get called twice in the same request?
Tnx!
DR
At 12:07 PM 12/7/01 -0500, you wrote:
Actually, regarding the setup below (which I mentioned in another message), I'm
having a problem with it and would appreciate some help.
22 matches
Mail list logo