[Mpuls-commits] r3548 - base/trunk/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Sep 7 15:44:40 CEST 2010
Author: torsten
Date: 2010-09-07 15:44:39 +0200 (Tue, 07 Sep 2010)
New Revision: 3548
Modified:
base/trunk/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py (ViewRenderer._renderMatrix): Checkwarning for childs in RadioMatrix and render Label correctely
Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py 2010-09-07 12:59:44 UTC (rev 3547)
+++ base/trunk/mpulsweb/lib/renderer.py 2010-09-07 13:44:39 UTC (rev 3548)
@@ -737,10 +737,11 @@
# write table body
out.append('<tbody>')
for num, row in enumerate(node.getChildren()):
+ self._checkWarnings(row)
out.append('<tr>')
out.append(tag("td", class_=("label %s"
% (num % 2 and "hl" or ""))))
- out.append(self._renderLabel(row, False))
+ out.append(self._renderLabel(row))
out.extend(self._renderAttributes(row))
out.append('</td>')
self.stateStack.append(row.getValue())
More information about the Mpuls-commits
mailing list