Changeset 3530 for waeup/trunk/src/waeup/baseitem.py
- Timestamp:
- 30 Jun 2008, 17:01:14 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/trunk/src/waeup/baseitem.py
r3528 r3530 1 1 import grok 2 from waeup.viewlets import MainArea 2 3 3 4 class BaseItem(grok.Model): … … 12 13 grok.EditForm.update(self) 13 14 14 class Index(grok.DisplayForm): 15 16 def update(self): 17 self.form_fields = grok.AutoFields(self.context.__class__) 18 grok.DisplayForm.update(self) 15 #class Content(grok.Viewlet, grok.DisplayForm): 16 # grok.viewletmanager(MainArea) 17 # 18 # def update(self): 19 # self.form_fields = grok.AutoFields(self.context.__class__) 20 # grok.DisplayForm.update(self)
Note: See TracChangeset for help on using the changeset viewer.