view.py
branchstable
changeset 3010 684a0c546774
parent 2656 a93ae0f6c0ad
child 3023 7864fee8b4ec
child 3326 e3089ceee1ea
--- a/view.py	Wed Aug 26 10:18:07 2009 +0200
+++ b/view.py	Wed Aug 26 10:18:49 2009 +0200
@@ -468,8 +468,10 @@
     __select__ = yes()
     property_defs = {}
 
+    # XXX huummm, much probably useless
+    htmlclass = 'mainRelated'
     def div_class(self):
-        return '%s %s' % (self.propval('htmlclass'), self.id)
-
+        return '%s %s' % (self.htmlclass, self.id)
+    # XXX a generic '%s%s' % (self.id, self.__registry__.capitalize()) would probably be nicer
     def div_id(self):
         return '%sComponent' % self.id