--- a/web/views/editforms.py Wed Jul 15 23:48:33 2009 +0200
+++ b/web/views/editforms.py Thu Jul 16 08:08:11 2009 +0200
@@ -137,6 +137,12 @@
self._attribute_form(entity, value, rtype, role, reload,
row, col, default, landing_zone)
else:
+ dispctrl = uicfg.primaryview_display_ctrl.etype_get(entity.e_schema,
+ rtype, role)
+ vid = dispctrl.get('vid', 'reledit')
+ if vid != 'reledit': # reledit explicitly disabled
+ self.wview(vid, entity.related(rtype, role))
+ return
if rvid is None:
rvid = self._compute_best_vid(entity, rtype, role)
rset = entity.related(rtype, role)