cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: redirect at the end of a pipeline/match
Date Wed, 04 Jun 2003 18:06:37 GMT
Looks like flowmap would be the cleanest way of
handling this, but it's still in development and not
that well documented.

--- Daniel McOrmond <danmc@dotech.com> wrote:
> I'm looking for a clean way to 'redirect' a user
> back to a page, at the 
> end of a pipeline.
> 
> <map:match pattern='comment'>
>     <map:generate src="xml/insert_comment.xml"/>
>     <map:transform type="sql">
>         <map:parameter name="use-connection"
> value="myconnection"/>
>     <map:transform>
>     <map:serialize type="xml"/>
>     <REDIRECT or something here/>
> </map:match>
> 
> map:redirect doesn't work because it skips the
> generate and transform. 
> Browsing through the mail archive someone suggest's
> using a meta 
> redirect tag in generated html. 
>
(http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105464887116737&w=2)
> 
> This would work but it seems clunky.. There must be
> a cleaner way to 
> accomplish this.?
> 
> -Daniel
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


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