[Zope] tree help!
michael.taņag
almightymike@yahoo.com
Tue, 8 Apr 2003 22:20:59 -0700 (PDT)
thanks! it works!
of course, making it work doesn't satisfy me
how it works makes me more satisfied.
What's the "_[ ]" characters for? What do they do?
Why is it good pratice to have html quote?
thanks! sorry for my ignorance =)
--- Chris Beaven <chris@d-designz.co.nz> wrote:
> Try
> <dtml-tree "_[fold]" branches_expr="objectValues(['Folder',
> 'File'])">
>
> And incase the folders don't have a title, maybe you should use
>
> <dtml-var title_or_id> instead of <dtml-var title>
>
>
> And probably should html quote just to stay in the habit ;)
> <dtml-var title_or_id html_quote>
> or
> &dtml-title_or_id;
>
> michael.taag wrote:
>
> >Hi!
> >
> >how come this doesn't work
> >
> >i pass this the variable fold with the url
> >
> >"http://www.somelink.com/treeview.html?fold=month"
> >
> >.
> >.
> >.
> ><dtml-tree fold branches_expr="objectValues(['Folder', 'File'])">
> > <dtml-if "meta_type=='Folder'">
> > <IMG SRC="<dtml-var icon>" BORDER=0> <dtml-var title>
> > <dtml-else>
> > <A HREF="<dtml-var tree-item-url>" target="_blank"><IMG
> SRC="<dtml-var
> >icon>" BORDER=0> <dtml-var id></A>
> ></dtml-if>
> ></p>
> ></dtml-tree>
> >
> >__________________________________________________
> >Do you Yahoo!?
> >Yahoo! Tax Center - File online, calculators, forms, and more
> >http://tax.yahoo.com
> >
> >_______________________________________________
> >Zope maillist - Zope@zope.org
> >http://mail.zope.org/mailman/listinfo/zope
> >** No cross posts or HTML encoding! **
> >(Related lists -
> > http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope-dev )
> >
> >
> >
>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com