cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel McOrmond <>
Subject Re: redirect at the end of a pipeline/match
Date Wed, 04 Jun 2003 18:11:43 GMT
Drop the xml serialization. I don't want to send that back as a result. 
What I do want to do is display a page that now includes the new 
information which came from this database insert. Does this make sense?

<map:match pattern='comment'>
   <map:generate src="xml/insert_comment.xml"/>
   <map:transform type="sql">
       <map:parameter name="use-connection" value="myconnection"/>
   <REDIRECT or something here/>


Geoff Howard wrote:

> What would the purpose be of sending xml back as a result and then
> redirecting the client?  This "need" keeps coming up when using the
> transformers with side effects, of which the sql transformer is one.
> Again, why do you need to redirect?  Why not serve them the content
> you want them to have right away?
> Geoff

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message