Changeset 3535 for waeup/trunk


Ignore:
Timestamp:
1 Jul 2008, 00:10:11 (16 years ago)
Author:
uli
Message:

Add missing render method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/trunk/src/waeup/baseitem.py

    r3532 r3535  
    1313        grok.EditForm.update(self)
    1414
    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)
    21 
    2215class Content(grok.Viewlet):
    2316    grok.viewletmanager(MainArea)
     17
     18    def render(self):
     19        return "CONTENT"
Note: See TracChangeset for help on using the changeset viewer.