[Plone-UI] Re: Display titles of subfolder objects in parent folder page view

Dorneles Treméa dorneles at x3ng.com.br
Wed Jul 16 21:40:02 UTC 2008


Nathan,

>     On the object, call getFolderContents.  Remember, at this point you
> have a brain so you'll need to call the getObject on it if you want to
> do anything special with it.  If you just need title and description you
> should be fine, but if you want to get the url, you'll need the brains.

I think you meant 'need the objects', but that's not true, you can
get the url directly from brains, without awaking the objects: all
you need is "brain.getURL()" or "brain/getURL" as a TALES.

HTH,

-- 

Dorneles Treméa
X3ng Web Technology
http://nosleepforyou.blogspot.com





More information about the UI mailing list