Personal tools
You are here: Home Lists ZPUG DC List Archives 2005 2005-06 Quick newbie question / Joseph Method <tristil@gmail.com>
Navigation
Log in


Forgot your password?
New user?
Mailing Lists
You can read our ZPUGDC mailing list archives online.
You can subscribe to our mailing list:
Book Review

The Definitive Guide to Plone

Reviewer: joel
 

Quick newbie question / Joseph Method <tristil@gmail.com>

Quick newbie question
Joseph Method <tristil(at)gmail.com>
2005-06-19 14:50:17 [ FULL ]
(Please tell me if this type of question is okay for this list. Plone-users 
is a bit chaotic for me)

What's the best way to get from the results of getFolderListingFolderContent 
back to another getFolder* call on the included folder objects? I.e, I'm 
trying to read the folder listings in the next folder level, but I have the 
catalog listing, not the folder object.
Like so:

<span>
<ul id="topmenu" tal:define="authors 
portal/books/authors/getFolderListingFolderContents">
<li class="sub"><a tal:attributes="href 
string:$portal_url/books/authors">Authors</a></li>
<ul>
<li class="sub" tal:repeat="author authors"><a tal:define="authorname 
author/Title; authid author/getId" tal:content="authorname" 
tal:attributes="href
string:$portal_url/books/authors/$authid"></a></li>
//<ul tal:define="books 
portal/books/authors/???/getFolderListingFolderContents">
//<li tal:repeat="book books"><a tal:define="bookname book/Title;
bookid 
book/getId" tal:content="bookname" tal:attributes="href 
string:$portal_url/books/authors/???">Books by author</a>
//</li>
//</ul>
</ul>
</ul>

Alternatively, is there a good *explicit* api reference for Plone? This is 
the part that every resource seems to hide from me.
[...]
Attachments: 
text.html text/html - 1548 Bytes

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: