You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kaj Kandler <Ka...@conficio.com> on 2006/10/24 17:08:33 UTC
SourceWriteTransformer help needed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I use Cocoon 2.1.9 and I'm having a problem with writing the source file
(adapted from the portal-fw block)
Here is my sitemap.xmap fragment
<map:match pattern="do-register">
<map:generate src="newuser.xml"/>
<map:transform src="stylesheets/generate-activate.xsl"/>
<map:transform type="session"/>
<map:transform type="cinclude"/>
<map:transform type="write-source"/>
<map:redirect-to uri="register-thank-you"/>
</map:match>
The problem is the file does not get updated
However, if I replace the redirect-to with
<map:serialize type="xml"></map:serialize>
Then I see the correct answers from the source write and I also see the
results correctly in the file.
What am I doing wrong?
K<o>
- --
KajKandler@Conficio.com
http://conficio.blogspot.com/
================================================
| We teach software one screencast at a time |
================================================
http://www.conficio.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFFPixxRDUvrJRNjTARAiS0AKCXtKTFcwAsdyrrHQ/HyR8mP7zljACfexN6
V35pXKnCyxtMHWzFIYbogfo=
=0EiZ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org