[Zope] DTML string in Zope Product
Bo M. Maryniuck
b.maryniuk@forbis.lt
Wed, 9 Oct 2002 18:09:54 +0200
On Wednesday 09 October 2002 15:46, Max M wrote:
> ######
> from Globals import HTML
> class SomeClass:
> someFoo =3D HTML('<standard_html_header>Test!<standard_html_footer=
>')
> #####
Errm... Be exact. Perhaps this way:
from Globals import HTML
class SomeClass:
=09def foo(self, REQUEST =3D None):
=09=09"""blah"""
=09=09someFoo =3D HTML('<standard_html_header>Test!<standard_html_footer>=
')
=09=09return someFoo(self, self.REQUEST)
--=20
Regards, Bogdan
When in danger, or in doubt, run in circles, scream and shout.
=09=09-- Robert A. Heinlein