Bill Anderson wrote:
>
> Tom Scheidt wrote:
> >
> > Hi All,
> >
> > I can't get
> >
> > <dtml-with PARENTS[1]>
>
> Have you tried <dtml-with "PARENTS[1]"> ?
> I dont recall why ATM, but my rule-of-thumb is that if you are calling
> ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes.
The all-caps things isn't the problem, <dtml-var REQUEST> will work fine
:-)
The problem is the [1] which is a python way of saying give me the 1st
element in the list object called PARENTS.
It being python, it need to be wrapped in " ";-)
cheers,
Chris
_______________________________________________
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 )