[Zope] Image tag
Rich Pinder
rpinder@usc.edu
Sun, 03 Jun 2001 18:31:33 -0700
Inside the standard_html_footer method I put the following - works
great:
<dtml-var ctslogo>
<i>CTS</i>
</body></html>
I tried the following simple modification and it didn't work as I'd
expected:
<dtml-var "ctslogo.tag(border=5, align=left)">
<i>CTS</i>
</body></html>
Something simple, I guess.
Rich
.............................................................................
error message:
<HTML>
<HEAD><TITLE>Site Error</TITLE></HEAD>
<BODY>
<TABLE BORDER="0" WIDTH="100%">
<TR VALIGN="TOP">
<TD WIDTH="10%" ALIGN="CENTER">
</TD>
<TD WIDTH="90%">
<H2>Site Error</H2>
<P>An error was encountered while publishing this resource.
</P>
<P><STRONG>NameError</STRONG></P>
Sorry, a site error occurred.<p>
<!--
Traceback (innermost last):
File C:\ZCTS\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
File C:\ZCTS\lib\python\ZPublisher\Publish.py, line 187, in publish
File C:\ZCTS\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File C:\ZCTS\lib\python\ZPublisher\Publish.py, line 171, in publish
File C:\ZCTS\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: standard_html_footer)
File C:\ZCTS\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: standard_html_footer)
File C:\ZCTS\lib\python\OFS\DTMLMethod.py, line 189, in __call__
(Object: standard_html_footer)
File C:\ZCTS\lib\python\DocumentTemplate\DT_String.py, line 538, in
__call__
(Object: standard_html_footer)
File C:\ZCTS\lib\python\DocumentTemplate\DT_Util.py, line 334, in eval
(Object: ctslogo.tag(border=5, align=left))
(Info: ctslogo)
File <string>, line 0, in ?
NameError: left
-->
<HR NOSHADE>
<P>Troubleshooting Suggestions</P>
<UL>
<LI>The URL may be incorrect.</LI>
<LI>The parameters passed to this resource may be incorrect.</LI>
<LI>A resource that this resource relies on may be encountering an
error.</LI>
</UL>
<P>For more detailed information about the error, please
refer to the HTML source for this page.
</P>
<P>If the error persists please contact the site maintainer.
Thank you for your patience.
</P>
</TD></TR>
</TABLE>
</BODY>
</HTML>