sharif islam wrote:
Can someone provide a better example for the anatomy of pipeline?
you mean the general concept of a "pipeline" match Request generate Data transform Data serialize/return Data ? Michi
(http://lenya.apache.org/1_2_x/tutorial/anatomy_of_the_pipeline.html) I know this is something pretty basic, but I am having problems understanding this, especially with the idea of asterisk. 1. <map:pipeline> 2. <!--/lenyabody-{rendertype}/{publication-id}/{area}/{doctype}/{url}--> 3. <map:match pattern="lenyabody-*/*/*/*/**"> 4. <map:aggregate element="cmsbody"> 5. <map:part src="cocoon://navigation/{2}/{3}/breadcrumb/{5}.xml"/> 6. <map:part src="cocoon://navigation/{2}/{3}/tabs/{5}.xml"/> 7. <map:part src="cocoon://navigation/{2}/{3}/menu/{5}.xml"/> 8. <map:part src="cocoon://navigation/{2}/{3}/search/{5}.xml"/> 9. <map:part src="cocoon:/lenya-document-{1}/{3}/{4}/{page-envelope:document-path}"/>> 10.</map:aggregate> "See all those {2}'s, {3}'s, and {5}'s? Each one of those points to the value for that numbered asterisk in the matcher. So, whatever happened to have been in the second asterisk in the matcher, we use that in place of {2}. Simple, no?" Thanks. --sharif --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Michael Wechner Wyona - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED] +41 44 272 91 61 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
