Use "object_data(view)" instead of "view_data" TALES extension in templates
authorThierry Florac <thierry.florac@onf.fr>
Wed, 11 May 2016 12:44:26 +0200
changeset 12 f972da099b1e
parent 11 bd670f41ca1e
child 13 2ba62c6a9086
Use "object_data(view)" instead of "view_data" TALES extension in templates
src/pyams_portal/zmi/templates/portlet.pt
--- a/src/pyams_portal/zmi/templates/portlet.pt	Thu Apr 21 18:06:02 2016 +0200
+++ b/src/pyams_portal/zmi/templates/portlet.pt	Wed May 11 12:44:26 2016 +0200
@@ -32,7 +32,7 @@
 							  accept view.accept;
 							  autocomplete view.autocomplete;
 							  class view.css_class;
-							  data-ams-data extension:view_data;
+							  data-ams-data extension:object_data(view);
 							  data-ams-form-handler view.get_ajax_handler() | nothing;
 							  data-ams-form-options view.get_form_options() | nothing;
 							  data-ams-form-submit-target view.form_target | nothing;