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
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
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
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