It's me again - and still having problems. I have a Zope product. It generates a load of useful information, but I wish to insert some DTML tags into the data that is output. I have no problem inserting these tags, but they will not render. Please could someone please explain how to encourage DTML to be parsed from the returned text. Thanks in hope and anticipation Stephen ----------------------------------------- Dr Stephen Rudd - genome astronomer Bioinformatics group Turku Centre for Biotechnology Tel. +358 2 333 8611 Fax. +358 2 333 8000 ------------------------------------------
Make your class subclass the DTMLMethod class. Then you get the rendering. Stephen Rudd wrote:
It's me again - and still having problems. I have a Zope product. It generates a load of useful information, but I wish to insert some DTML tags into the data that is output. I have no problem inserting these tags, but they will not render. Please could someone please explain how to encourage DTML to be parsed from the returned text.
Thanks in hope and anticipation
Stephen
----------------------------------------- Dr Stephen Rudd - genome astronomer Bioinformatics group Turku Centre for Biotechnology Tel. +358 2 333 8611 Fax. +358 2 333 8000 ------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
.
-- Peter Bengtsson, http://www.peterbe.com
Stephen Rudd wrote:
It's me again - and still having problems. I have a Zope product. It generates a load of useful information, but I wish to insert some DTML tags into the data that is output. I have no problem inserting these tags, but they will not render. Please could someone please explain how to encourage DTML to be parsed from the returned text.
DTML only works if it's rendered. Your DTML probably wants to live in a DTMLFile object that is an attribute of your product class. Of course, I'd recommend ZPT instead of DTML, but on your head be it ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
Peter Bengtsson -
Stephen Rudd