[Mpuls-commits] r1879 - in wasko/branches/2.0: . mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 1 15:16:55 CET 2010
Author: bh
Date: 2010-03-01 15:16:55 +0100 (Mon, 01 Mar 2010)
New Revision: 1879
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/controllers/formularpage.py
Log:
* mpulsweb/controllers/formularpage.py (get_rendered_page):
Instantiate the RepeatGroupRenderer with the repeat group digest
settings of the mpuls configuration
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-03-01 14:15:24 UTC (rev 1878)
+++ wasko/branches/2.0/ChangeLog 2010-03-01 14:16:55 UTC (rev 1879)
@@ -1,5 +1,11 @@
2010-03-01 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/controllers/formularpage.py (get_rendered_page):
+ Instantiate the RepeatGroupRenderer with the repeat group digest
+ settings of the mpuls configuration
+
+2010-03-01 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/lib/renderer.py (RepeatGroupRenderer.__init__): Extend
base class method with an additional parameter, digests, that
specifies the repeat group disgest configuration
Modified: wasko/branches/2.0/mpulsweb/controllers/formularpage.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/formularpage.py 2010-03-01 14:15:24 UTC (rev 1878)
+++ wasko/branches/2.0/mpulsweb/controllers/formularpage.py 2010-03-01 14:16:55 UTC (rev 1879)
@@ -81,7 +81,9 @@
if isinstance(page, RepeatInstanceContainerNode):
renderer = RepeatGroupRenderer(instance_tree, page,
session.get('render_mode',
- 'ro') == 'ro')
+ 'ro') == 'ro',
+ g.mpuls_config.get("renderer",
+ "rg_digests"))
else:
c.formularerrors = u"Fehler"
renderer = ViewRenderer(instance_tree, page,
More information about the Mpuls-commits
mailing list