cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Reufsteck <jens.reufst...@hobsons.de>
Subject Re: "redirect-to" result of a transformation
Date Wed, 06 Apr 2005 12:52:56 GMT
Maybe put the redirect into the html-header?:
http://cocoon.apache.org/2.1/userdocs/concepts/redirection.html#Redirects+in+Pipelines

Jens Reufsteck

>Adam Ratcliffe wrote:
>>Yes the uri that gets passed to processPipelineTo() does need to reference a
>>pipeline that would fetch your content for you,
>  > [...]
>
>But what is the syntax for referencing to (SAX 
>result coming out of) a pipeline?
>
>      cocoon.request.getParameter("Quelle")
>
>just only references to a request parameter of 
>the pipeline from where I was calling the 
>function.
>
>>I'm sure there are many other ways of doing 
>>this making greater use of sitemap
>  > [...]
>
>Just only one would be enough, but I don't know of any. Some Idea?
>
>---------------------------------------------
><map:match pattern="LinuxLink">
>   <map:generate type="html" src="{request-param:Quelle}">
>     <map:parameter name="xpath" 
>value="*[local-name()='a'][text()[contains(.,'Story')]]/@href"/>
>   </map:generate>
><map:redirect-to uri="{*How-To-Adress-Xpath-From-Generate*}"/>
></map:match>
>---------------------------------------------
>
>Isn't there any chance for making SAX stream available to the sitemap?
>
>--
>Volkm@r
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org

-- 
Hobsons GmbH
Wildunger Stra├če 6
60487 Frankfurt am Main
Deutschland

Tel: +49 (69) 255 37-140
Fax: +49 (69) 255 37-159

http://www.hobsons.de
http://www.hobsons.ch

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


Mime
View raw message