[Zope] The tree Tag
Sterling
smullett@omeninc.com
Fri, 08 Oct 1999 14:59:32 -0400
This is a cryptographically signed message in MIME format.
--------------msC7B89EE285011682EB30B1D1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
H-
It sure does. Appreciate the detailing.
There's also another link that you might want to look at.
http://www.zope.org/Documentation/Guides/DTML/DTML-HTML/DTML.13.html
cybertad the creator of the first link given (previous email) also made
a reference to applying the TREE tag to SQLmethods.
I was looking/hoping to develop a 'tree' list from a database table. Any
thoughts how/or if this can be accomplished?
Thoughts, Comments, Anecdotes?
-Sterling
Oscar Picasso wrote:
>
> Your explanations make the tree tag attributes much more clear to me.
>
> Many thanks
>
> >The object upon which the tree tag iterates. Usually a folder. For
> >example, <dtml-tree content> would iterate over the folder /content.
> >
> >> leaves
> >
> >If a sub object doesn't have further subobjects, what should be
> >displayed as a leaf?
> >
> >FolderA
> > FolderB
> > index_html
> >
> >If I say leaves="index_html" in my tree tag, then when you click on the
> >+ next to FolderB, you'll see the content of index_html. Look at the
> >source for your Quick_Start, I believe they do it there.
> >
> >> header
> >
> >something that shows up immediately after the expanded branch:
> >
> >- FolderA
> > - FolderB
> > This Is A Header
> > + FolderB.1
> > + FolderB.2
> > + FolderC
> >
> >where the 'header' is a Document in FolderB that has "<p>This Is A
> >Header" as it's only content.
> >(header="header_doc")
> >
> >> footer
> >Like header, but:
> >- FolderA
> > - FolderB
> > +FolderB.1
> > + FolderB.2
> > This is a Footer
> > + FolderC
> >
> >You might also want to look at
> >http://www.zope.org/Members/cybertad/how_to/working_with_tree
> >for some more info.
> >--
> >~mindlace
> >
> >
>
> ***************************
> Oscar Picasso
> picasso@videotron.ca
> ***************************
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (Related lists - please, no cross posts or HTML encoding!
>
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
--------------msC7B89EE285011682EB30B1D1
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIIFIAYJKoZIhvcNAQcCoIIFETCCBQ0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
AxEwggMNMIICdqADAgECAgEoMA0GCSqGSIb3DQEBBAUAMHgxCzAJBgNVBAYTAlVTMREwDwYD
VQQIEwhNYXJ5bGFuZDERMA8GA1UEBxMIQ29sdW1iaWExEjAQBgNVBAoTCU9tZW4gSW5jLjEN
MAsGA1UEAxMET21lbjEgMB4GCSqGSIb3DQEJARYRYWRtaW5Ab21lbmluYy5jb20wHhcNOTkw
OTA2MDcwMzE2WhcNMDAwOTA1MDcwMzE2WjCBkzELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE1h
cnlsYW5kMRIwEAYDVQQKEwlPbWVuIEluYy4xHTAbBgNVBAsTFEdvdmVybm1lbnQgQ29udHJh
Y3RzMRkwFwYDVQQDExBTdGVybGluZyBNdWxsZXR0MSMwIQYJKoZIhvcNAQkBFhRzbXVsbGV0
dEBvbWVuaW5jLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA8MWX4VbtyKDXOGZI
w04RZDGqWZQT5y4sL7birtQFaek7T+uj1SW+6XO3b86pERakU73eQHA2GOyq1ZLowX4jDeC8
pSz1BAy4hyCGFIrdZ1U0RhnAxGiNkz5fXKdjH/Vs9enQMLimV4P+sAds4E8PAiyqCf9/CxQD
mPJLcxo35e0CAwEAAaOBijCBhzAyBglghkgBhvhCAQQEJRYjaHR0cDovL3d3dy5jcnlwdHNv
ZnQuY29tL2NhLWNybC5wZW0wPgYJYIZIAYb4QgENBDEWL0dlbmVyYXRlZCBvbiBrYW5nYXJv
by5vbWVuaW5jLmNvbSBieSBLZXZpbiBNZXR6MBEGCWCGSAGG+EIBAQQEAwIAoD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