diff --git a/browser/__init__.py b/browser/__init__.py new file mode 100644 index 0000000..4bc90fb --- /dev/null +++ b/browser/__init__.py @@ -0,0 +1,4 @@ +""" +$Id$ +""" + diff --git a/browser/configure.zcml b/browser/configure.zcml new file mode 100644 index 0000000..8f53956 --- /dev/null +++ b/browser/configure.zcml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + diff --git a/configure.zcml b/configure.zcml index ed9c6a6..ec5886d 100644 --- a/configure.zcml +++ b/configure.zcml @@ -1,10 +1,12 @@ + + - + @@ -26,13 +28,17 @@ id="loops.Task" description="Task object " /> - + interface="zope.app.container.interfaces.IReadContainer"/> --> + permission="zope.View" + interface=".interfaces.ITask"/> + + diff --git a/task.py b/task.py index 5b68c9c..c941bc2 100644 --- a/task.py +++ b/task.py @@ -19,7 +19,7 @@ """ Definition of the Task class. -$Id: task.py $ +$Id$ """ from zope.interface import implements @@ -37,4 +37,5 @@ class Task(Entity): implements(ITask) title = u'' + #title = property(_getTitle, _setTitle)