[Zope] hasattr

Kyle Burnett kburnett@ep.newtimes.com
Fri, 28 Jan 2000 20:47:28 -0700


i am trying to see if the file cover.gif exists.

the directory structure is:
/palette4/2000-01-27/cover.gif.

since the date is the variable "issue," i am having trouble stringing the
whole statment together.

<dtml-if "_.hasattr(PARENTS[-2].palette4,issue,'cover.gif')">

this clearly does not work.

anybody have an idea?

thanks,
kyle