[Zope] ZPT rendering

Lucas Di Pentima lucas@lunix.com.ar
09 Jun 2002 01:27:43 -0300


--=-0uTo+3WB/QzWt8iCC+TN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi people,

I'm experimenting with ZPT and I need to ask you about the rendering in ZPT=
s.=20

Let me explain my problem with an example: I have a folder with some
DTML Documents in it (I'm putting DTML Docs as an example object that
renders itself to show some content, ok?), and I have a ZPT template
that iterates through the DTMLs list in that folder and call its
rendering method one by one this way:

<ul>
<li tal:repeat=3D"child container/folder/objectValues"> <span
tal:replace=3D"child"></span></li>
</ul>

Every DTML Doc outputs HTML code (obviously), and let suppose that they
do not output an entire HTML page, but some HTML formatted text between
<h3> and </h3>.

My problem is that when I ask the ZPT to render itself, it doesn't take
the DTML Doc's output _literally_, but what it does is convert all HTML
Tags to &lt;b&gt; and so on...

How can I make ZPT _not_ to convert all HTML tags to &blabla;?

What I'm doing is developing a Zope Product that will permit the web=20
developer to treat every graphical entity as a widget, as in GNOME
programming for example. So that every widget will be an object that
passes itself to a SkinManager to be rendered, and well, I'm having this
problem, what can I do?

Thanks for your help!

--=20
Lucas Di Pentima - Santa Fe, Argentina
   [LUNIX: Soluciones en GNU/Linux]
         lucas@lunix.com.ar
      =20
GnuPG Public Key: http://www.lunix.com.ar/clave-publica-lucas.gpg

--=-0uTo+3WB/QzWt8iCC+TN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje esta firmada digitalmente

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

iD8DBQA9Atk+j5g/z2qlT8kRAgb/AKCb2KgAqzg/CktSvYdIaLc8Eky/QgCeOdbE
6G1f8bRAFnTEVlWNdPSYZDA=
=Rlri
-----END PGP SIGNATURE-----

--=-0uTo+3WB/QzWt8iCC+TN--