[Zope] Re: passing information to a rendered ZPT from python
martin f krafft
madduck@madduck.net
Mon, 12 May 2003 01:13:21 +0200
--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
also sprach Nicolas ?vrard <nicoe@altern.org> [2003.05.12.0050 +0200]:
> in your python script :
> return context.a_page_template(username=3D'John Doe', list=3D['a' , 'b'])
>=20
> in your page template :
>=20
> Hello, I'm <span tal:replace=3D"options/username">Whoever</span>.
yes, this works. thanks!
--=20
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
get my key here: http://madduck.net/me/gpg/publickey
=20
an avocado-tone refrigerator would look good on your resume.
--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+vtkRIgvIgzMMSnURAtAeAKDVxxE4/KkgzpEHjhW8dGTFlKZ/sgCfb9I/
36M+WVssRDpM/IojhSXS/Zs=
=kmid
-----END PGP SIGNATURE-----
--Kj7319i9nmIyA2yE--