Hi, Can somebody explain me the different parts (and how they work) of the Tree setup in the QuickStart? I don't understand a lot from it... it uses also some things like objectValues(['Folder'])... etc. where can I find information of these and others? I can't find them in the DTML user guide. Tom.
On Sun, 16 May 1999, Tom Deprez wrote:
objectValues(['Folder'])... etc. where can I find information of these and others? I can't find them in the DTML user guide.
you can find more info in the "Z Online Help" when you click on the "help" tab on the management screen. you'll find an "Object Reference" there listing all the methods of certain objects. e.g. you can find the objectValues method in the Folder section and this is what it says: objectValues(self, [spec]) Permission: Access contents information Return a list of the actual subobjects. Returns a list of actual subobjects of the current object. If spec is specified, returns only objects whose meta_type match spec this means that objectValues(['Folder']) will return a list of subfolders in your current folder. cheers thilo
Is it possible that Zop1.10 has a bigger Object reference then Zope1.2? I can't find this information (below) in Zope1.2, while in Zope1.10 I can... Tom.
On Sun, 16 May 1999, Tom Deprez wrote:
objectValues(['Folder'])... etc. where can I find information of these and others? I can't find them in the DTML user guide.
you can find more info in the "Z Online Help" when you click on the "help" tab on the management screen. you'll find an "Object Reference" there listing all the methods of certain objects.
e.g. you can find the objectValues method in the Folder section and this is what it says:
objectValues(self, [spec]) Permission: Access contents information
Return a list of the actual subobjects.
Returns a list of actual subobjects of the current object. If spec is specified, returns only objects whose meta_type match spec
this means that objectValues(['Folder']) will return a list of subfolders in your current folder.
cheers thilo
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
At 20:46 16/05/99 , Tom Deprez wrote:
Hi,
Can somebody explain me the different parts (and how they work) of the Tree setup in the QuickStart?
I don't understand a lot from it... it uses also some things like objectValues(['Folder'])... etc. where can I find information of these and others? I can't find them in the DTML user guide.
Tom.
I am working on a tag reference for the ZDP site (http://zdp.zope.org/). I also wrote two emails on this list that described the #tree tag attributes, but the emails were written when I was really way too tired to be doing anything like playing with Zope.. I believe DC is going to use these for their upcoming update of the DTML users guide. You can find them online at the Zope archives: http://www.zope.org/pipermail/zope/1999-February/001928.html http://www.zope.org/pipermail/zope/1999-February/001930.html -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (4)
-
Martijn Pieters -
tango mike -
Tom Deprez -
Tom Deprez