Hi folks
Is it possible to use SourceWritingTransformer and then a redirect. Like
this:
...
<map:transformer name="filewriter"
src="org.apache.cocoon.transformation.SourceWritingTransformer"/>
...
<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>
  <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:act>
<map:redirect-to uri="logout.html"/>
</map:match>


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

Cheers
Beat De Martin

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
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.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to