[Zope] DTML within DTML?

Colin Fox cfox@crystalcherry.com
28 Mar 2002 11:29:30 -0800


--=-b4ooysak22hNJogf2nkx
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


I'm trying to set up a dynamic redirect, and I can't figure out the
syntax.

Given there's a variable called 'record_id', and I have a page called
'edit' which takes a parameter called 'r_id', here's the redirect
statement I'd like to use:

<dtml-call expr=3D"RESPONSE.redirect('edit?r_id=3Drecord_id')">

I need the record_id field to be evaluated, but the rest to be used
literally. How do I do this?

THX.

--=20
Colin Fox                                       cfox@crystalcherry.com
CF Consulting Inc.                                    GPG Fingerprint:
                    D8F0 84E7 E7CC 5C6C 9982  F1A7 A3EB 6EA3 BC97 572F

--=-b4ooysak22hNJogf2nkx
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8o28ao+tuo7yXVy8RAhDtAJ9bNUM/x7tV04lRUFJ33dCuEtDgDwCdGFyV
kfvhaoKNzeUg9Prur8Rx3p0=
=xwRv
-----END PGP SIGNATURE-----

--=-b4ooysak22hNJogf2nkx--