cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rachid harradi" <rachid.harr...@gmx.net>
Subject passing Value from Pipline to another Pipline
Date Fri, 05 Jan 2007 12:15:50 GMT
Hello together

i have Sitemape like :
<map:pipelines>
   <map:pipeline>
   
      <map:match pattern="Mail_InfoAppealAcceptedHTML">
         <map:generate type="Mail_InfoAppealAcceptedGenerator" src=""/>
         <map:transform type="mailme" src="mailinfo.xslt">
         <!-- map:parameter name="contextPath" value="{request:contextPath}"/-->
         </map:transform>
         <map:serialize type="html"/>
      </map:match>
      </map:pipeline> 
    
    <map:pipeline> 
        <map:match pattern="dart">
        	<map:read src="dart.GIF" mime-type="image/gif" />
      	</map:match>
    </map:pipeline> 
    
    <map:pipeline> 
      	 <map:match pattern="dartlinks">
        	<map:read src="dartlinks.GIF" mime-type="image/gif"/>
      	  </map:match>
    </map:pipeline> 
    
    <map:pipeline> 
    <map:match pattern="Mail_InfoAppealAccepted.html">
   	 <map:generate type="file" src="cocoon:/Mail_InfoAppealAcceptedHTML"/>
   	 <map:transform src="saveFile.xsl">
         <map:parameter name="serializer" value="html" />
         <map:parameter name="filepath" value="E:/temp/Mail_InfoAppealAccepted.html" />
     </map:transform>
      <map:transform type ="savefiles"/>
  	<map:serialize type="html"/>
	</map:match>
   </map:pipeline>
   
</map:pipelines

i will filepath dynamic set. however i get values from first pipline "Mail_InforAppealAcceptedHTML"
so from Mail_InfoAppealAcceptedGenerator.java.

i dont know how can i pass the value from first Pipline on the second Pipline "SaveFilesTransformer".
have you any Idea?


Rachid Harradi


-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message