cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beat De Martin <>
Subject SourceWritingTransformer and redirect
Date Sun, 02 Feb 2003 19:12:54 GMT
Hi folks
Is it possible to use SourceWritingTransformer and then a redirect. Like
<map:transformer name="filewriter"
<map:match pattern="bestellunguebermittlung.html">
<map:act type="controller">
  <map:generate type="serverpages" src="xml/bestellung_pdf.xml"/>
  <map:transform src="xsl/bestellung_fo.xsl"/>
  <map:transform type="filewriter">
   <map:parameter name="serializer" value="fo2pdf"/>
  <map:transform src="xsl/lieferadresse.xsl"/>
  <map:serialize type="xml"/>
  <!-- this works but SourceWritingTransformer does NOT write the file -->
  <!-- map:redirect-to uri="realbestellunguebermittlung.html"/-->
<map:redirect-to uri="logout.html"/>

With <map:serialize type="xml"/> it works, but when I use redirect, the file
is not written. The redirect itself works.
Any suggestions ?

Beat De Martin

+++ GMX - Mail, Messaging & more +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message