In the wonderful world of DTML

<dtml-with ftp>
<dtml-with "ftp">
<dtml-with expr="ftp">
<dtml-with expr="_['ftp']">
<dtml-with expr="_.getitem('ftp')"> etc...

all work for folders.

I know <dtml-var foo> is different from <dtml-var "foo">. But whilst its
always been summarised that one "is python" and one "isnt", the exact
difference I couldn't tell you without hunting through the DT source.

<wild guess> Both <dtml-var foo> and <dtml-var "foo"> both render the string
of foo, its just that the latter doesnt parse the resulting html</wild
guess>, but things are different for <dtml-with> compared to <dtml-var>.

Maybe someone more expert than me would like to jump in...

--
  Andy McKay, Developer.
  ActiveState.

----- Original Message -----
From: "jimbo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 13, 2000 1:30 PM
Subject: [Zope] Calling obj. in index_html


> I had to catch myself. expr="Bad Jimbo"
> I guess calling it versus inserting it achieves the same results.
> Just to clarify this would render a string "_['ftp']" right?
> -Jimbo
>
>
> _______________________________________________
> 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 )
>


_______________________________________________
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 )

Reply via email to