source: products/qSiloGroup/trunk/skins/qSiloGroup/getSiloData.py @ 199

Last change on this file since 199 was 199, checked in by chervol, 18 years ago

new portlets lyout, time formating updated

File size: 472 bytes
Line 
1## Controller Python Script "getSiloData"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##title=Update Folder Property
8##parameters=
9#
10
11from Products.qSiloGroup.utils import getCurrentFolder
12
13prop_dict = context.getSiloNavigationDictionary()
14
15if not prop_dict:
16    return []
17
18CONTEXT = getCurrentFolder(context)
19
20return [prop_dict[item] for item in CONTEXT.objectIds() if item in prop_dict.keys()]
Note: See TracBrowser for help on using the repository browser.