Improved pod field with specific, static or dynamic pod context.

This commit is contained in:
Gaetan Delannay 2010-02-12 16:35:50 +01:00
parent ecd9c66ca1
commit 9974769075
2 changed files with 18 additions and 6 deletions

View file

@ -470,12 +470,13 @@ class Pod(Type):
searchable=False, specificReadPermission=False,
specificWritePermission=False, width=None, height=None,
master=None, masterValue=None, focus=False, historized=False,
template=None):
template=None, context=None):
Type.__init__(self, None, (0,1), index, default, optional,
False, show, page, group, move, indexed, searchable,
specificReadPermission, specificWritePermission, width,
height, master, masterValue, focus, historized)
self.template = template # The path to a POD template
self.context = context # A dict containing a specific pod context
# Workflow-specific types ------------------------------------------------------
class State: