cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Rubin <ia...@mcsla.com.ar>
Subject Re: questions about a few pipeline options
Date Wed, 13 Mar 2002 14:36:48 GMT
Tom,

You can't access an internal pipeline from the outside. Sometimes you 
need to hide a pipeline that does something for other pipelines, but not 
for the public in general.

If you have

<map:pipeline internal-only="true">
   <map:match pattern="test">
     <!-- do something -->
   </map:match>

   <map:match pattern="test2">
     <!-- do something else -->
   </map:match>

</map:pipeline>

you can use those pipelines in an aggregation for generating some content:

<map:pipeline>
    <map:match pattern="publicResource">
       <map:aggregate>
          <map:part src="cocoon:/test"/>
          <map:part src="cocoon:/test2"/>
       </map:aggregate>
    </map:match>
</map:pipeline>

but http://localhost/cocoon/test or test2 is not a valid match from the 
outside.

Tom von Schwerdtner wrote:

> Looking at the sunSpot demo, I see this pipeline:
> 
> <map:pipeline internal-only="true">
> 
> I've done some poking around and I cant figure out what the 'internal-only'
> option is all about....can someone clue me in (either to what it means or
> to the M I am supposed to RTF)?
> 
> TIA,
> -Tom
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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>
> 
> 



---------------------------------------------------------------------
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