On Wed, 24 May 2000, Rik Hoekstra wrote:

> "J. Atwood" wrote:
> > 
> > Ok.. this is really dumb, but for some reason I can't get this to work.
> > 
> > <dtml-if "id=='index_html'">
> 
> I believe this should be 
> 
>  <dtml-if "_['id']=='index_html'">  

I wonder if someone would be kind enough to translate Rik's code into Enlish
for me. I know that expressions inside "" are Python, but what is the
function of the [] and _?

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
[EMAIL PROTECTED] |   <dtml-var pithy_quote>     | http://linux.com/


_______________________________________________
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