view.py
changeset 3023 7864fee8b4ec
parent 2890 fdcb8a2bb6eb
parent 3010 684a0c546774
child 3369 7b88d12b4ee2
--- a/view.py	Fri Aug 21 16:26:20 2009 +0200
+++ b/view.py	Wed Aug 26 14:45:56 2009 +0200
@@ -474,8 +474,11 @@
     __registry__ = 'components'
     __select__ = yes()
 
+    # XXX huummm, much probably useless
+    htmlclass = 'mainRelated'
     def div_class(self):
-        return '%s %s' % (self.cw_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