cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Vargas <ardva...@procrastinators.org>
Subject Re: Flow confusion: dealing with continuation ID's?
Date Wed, 01 Dec 2004 14:15:47 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sandor,

| I'm creating several HTML pages to be served by a flowscript. I'm used
| to writing XML that gets rendered as HTML by a stylesheet. So I expect I
| can access the continuation-ID from within XSLT because I want to use it
| as a FORM-action. Is it just me, or is this impossible?

I discovered through a bit of experimentation that there is an input
module to get the current continuation id.  You can use that to pass the
continuation id into your stylesheet for rendering into the form.

A contrived example:

<map:match pattern="foo">
	<map:generate src="bar.xml"/>
	<map:transform src="boo.xslt"
		<map:parameter name="continuation-id" value="{flow-continuation:id}"/>
	</map:transform>
	<map:serialize/>
</map:match>

Hope that helps!

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: What is this? http://pgp.ardvaark.net

iD8DBQFBrdIS3YdPnMKx1eMRAtUUAJ9tcSpQ71IpWD12W+jSAvbj/xf0lgCfYlOe
RZCjx1OgU8ENmlEeYkQJitE=
=FS10
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message