On Wed, 17 Jan 2001, Nick McDowell wrote:
> <dtml-with templates>
> <dtml-var myHTMLtemplate>
> </dtml-with>
>
> .......everything works correctly and my HTML page is rendered properly with
> graphics etc. However I initially tried to execute the method via the
> following (slightly less keyboard action) -
> <dtml-var expr="templates.myHTMLtemplate">
>
> .......this results in the HTML template being displayed in plain text
> format i.e. the HTML is not rendered and all the tags are visible.
> I also tried calling -
> <dtml-var expr="templates.myHTMLtemplate()">
> .......which was worse as it resulted in errors relating to Zope's
> inability to "locate" dtrml methods called within the "myHTMLtemplate"
> method..
<dtml-var expr="templates.myHTMLtemplate(_.None, _)">
[EMAIL PROTECTED], [EMAIL PROTECTED]
/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )