Brian Withun writes:
I have two ZClasses. One ("Album") is folderish, and serves as a photo
album. The other ("Photo") isn't and serves as a photo in an Album. Albums
can contain only Albums and Photos.
I would like to have a dtml-tree represent this hierarchy of Albums and
Consider the following situation:
-
I have two ZClasses. One ("Album") is folderish, and serves as a photo
album. The other ("Photo") isn't and serves as a photo in an Album. Albums
can contain only Albums and Photos.
I would like to have a dtml-tree
Brian Withun wrote:
I need the branches to represent two different meta types, Album and Photo.
If I use branches_expr="objectValues('Album') I'll see the tree rendered
with only Albums, and no Photos shown.
Not sure of the consequences in the tree tag. But objectValues()
accepts multiple
branches_expr="objectValues('Album' 'Photo')
I think you mean
branches_expr="objectValues(['Album','Photo'])
seb
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
Seb Bacon wrote:
branches_expr="objectValues('Album' 'Photo')
I think you mean
branches_expr="objectValues(['Album','Photo'])
Ah, what's a bracket here or there? g
It may be more correct? But
dtml-in "objectValues('DTML Method' 'Folder')"
will render as expected. Go figure!
--