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
> Photos.
>
> The Question:
> -------------
>
> should I use
>
> <dtml-tree branches_expr="objectValues('Album')" ..
>
> Things to consider:
> -------------------
>
> 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.
You may try:
<dtml-tree branches_expr="objectValues(['Album','Photo'])">
Dieter
_______________________________________________
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 )