[Zope] can't render html is subfolder (revisited)
Mike Mikkelsen
mikk@microbsys.com
Mon, 04 Oct 1999 09:00:17 -0700
Hello all,
Can anyone tell me why the following code shows the CODE of the DTML
method MainContent.Row instead of rendering the html?
<TABLE WIDTH="99%">
<TR>
<TD BGCOLOR="white">
<dtml-var titlePage>
<dtml-with "MainContent">
<dtml-var Row>
</dtml-with>
</TD>
</TR>
</TABLE>
I've tried removing the quotes. I get a hasattr error: expecting
string, got int. The code, as I show it to you above, changes all of
the < and > signs to < and > so that the code can't be rendered.
BTW: I've tried MainContent.Row as a document and a method with no
change. I've use the command <dtml-var "MainContent.Row"> with no
change. The only way I can get it to work is by moving the Row method
back up to the root directory.
Thank you.
--
==========================================================================
Mike Mikkelsen
mikk@microbsys.com
Micro Business Systems
http://www.microbsys.com
Fresno Linux Users Group
http://linux.fresno.ca.us
Linux: The OS people choose without $200,000,000 of persuasion