[Zope] checking sequence-item variable?
Michel Pelletier
michel@digicool.com
Sat, 25 Mar 2000 00:39:53 -0800
mindlace wrote:
>
> mindlace wrote:
>
> > how do I pull this off?
>
> Well, I clicked send before I should have. This works:
>
> <dtml-with "PARENTS[-1].net" only>
> > <dtml-in "objectValues(['Folder'])">
> > <dtml-with sequence-item only>
> > <dtml-unless noshow>
> > do something
> > </dtml-unless>
> > </dtml-with>
> > </dtml-in>
> </dtml-with>
>
> but I don't understand why- I used to have <dtml-with net only> and that
> didn't work.
The reason depends on how it didn't work. Did it give you an error and
a traceback?
-Michel