[Zope] Feeling like a newbie.. document id if statement?
Timothy Wilson
wilson@visi.com
Wed, 24 May 2000 09:18:05 -0500 (CDT)
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/
wilson@visi.com | <dtml-var pithy_quote> | http://linux.com/