[Zope] zubb context of _[id]
Bryan C. Andregg
bryan.andregg@duke.edu
Thu, 22 Aug 2002 10:49:42 -0400
--tkgHWL40pCDFFyey
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I'm converting the main ZUBB index_html to be a Page Template instead of dt=
ml
and mostly everything work. Where is breaks is in a few calls like,
<dtml-var "_[id].threadMessageCount()">
For the life of me I cannot figure out what the context of this is in order=
to
convert it.
We're in a <dtml-in> body, and I have the tal:repeat working fine, but noth=
ing
like,
tal:replace=3D"container/item/threadMessageCount"
works, always failing with getattr because I have the context wrong.
What is the context of the _[id]
--=20
Bryan C. Andregg Duke University Medical Center
Programmer Dept. of Anesthesiology
e <bryan.andregg@duke.edu>
p +1 919 684 6201
--tkgHWL40pCDFFyey
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9ZPoFj9pElyS/cakRAiiJAJoD6HQ6V2sIsMv9Rw1nrFUTcJQ34wCeIe5w
or9pSFwinKapGEPLtjSrzRA=
=mYOf
-----END PGP SIGNATURE-----
--tkgHWL40pCDFFyey--