[Zope] Variable Passing Question?

Mark Roach mrroach@okmaybe.com
05 Sep 2002 11:29:30 -0500


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

On Wed, 2002-09-04 at 12:22, Jason Burke wrote:
> Greetings All,
>=20
> I feel pretty dense asking this question, but I can't seem to
> find the answer anywhere.
>=20
> How do I pass a namespace variable to a python script from a
> DTML document. The zope book says to do this...
>=20
> <dtml-call expr=3D"updateInfo(color=3D'brown', pattern=3D'spotted')">
[snip]
> color=3Dcolor

This is the right one. if it is not working, perhaps the variable does
not actually exist. Does <dtml-var color> work?


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Public key at http://www.uhg.net/mrroach.gpg

iD8DBQA9d4ZpxyZQWqn8vcMRAsQrAKC/Spr1FQl76MqeBI1K0YwUul/lZwCfZLDm
GSJfYvHVmWVEx5NixN/W9KI=
=biwR
-----END PGP SIGNATURE-----

--=-Xh//jn8VIW6DfPIWcNJP--