Example #1
0
 def addBodyRow(self, *trs, **kw):
     """ Body rows can be collected under same element, or under separate body tags via addBodyRows """
     if not self.__dict__.has_key('tbody'):
         self.tbody = helper.tbody(**kw)
     for tr in trs:
         self.tbody.content(tr)
     return self
Example #2
0
 def addBodyRow(self, *trs, **kw):
     """ Body rows can be collected under same element, or under separate body tags via addBodyRows """
     if not self.__dict__.has_key('tbody'):
         self.__dict__['tbody'] = helper.tbody(**kw)
     for tr in trs:
         self.__dict__['tbody'].addContent(tr)
     return self
Example #3
0
 def addBodyRows(self, *trs, **kw):
     """ See above """
     if not self.__dict__.has_key('tbodys'):
         self.tbodys = []
     self.tbodys.append(helper.tbody(*trs, **kw))
     return self
Example #4
0
 def addBodyRows(self, *trs, **kw):
     """ See above """
     if not self.__dict__.has_key('tbodys'):
         self.__dict__['tbodys'] = []
     self.__dict__['tbodys'].append(helper.tbody(*trs, **kw))
     return self