web/component.py
branchstable
changeset 9700 da7d341cca76
parent 9587 0f0199948f93
child 9784 790956c311ef
equal deleted inserted replaced
9699:990676d3f39f 9700:da7d341cca76
   446     @property
   446     @property
   447     def domid(self):
   447     def domid(self):
   448         return domid(self.__regid__) + unicode(self.entity.eid)
   448         return domid(self.__regid__) + unicode(self.entity.eid)
   449 
   449 
   450     def lazy_view_holder(self, w, entity, oid, registry='views'):
   450     def lazy_view_holder(self, w, entity, oid, registry='views'):
   451         """add a holder and return an url that may be used to replace this
   451         """add a holder and return a URL that may be used to replace this
   452         holder by the html generate by the view specified by registry and
   452         holder by the html generate by the view specified by registry and
   453         identifier. Registry defaults to 'views'.
   453         identifier. Registry defaults to 'views'.
   454         """
   454         """
   455         holderid = '%sHolder' % self.domid
   455         holderid = '%sHolder' % self.domid
   456         w(u'<div id="%s"></div>' % holderid)
   456         w(u'<div id="%s"></div>' % holderid)