[book] section about how to disable reledit feature/view stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 06 Sep 2011 12:01:27 +0200
branchstable
changeset 7759 2cd77f21fd41
parent 7758 1b8b83ff9f6b
child 7760 75d80ef524c7
[book] section about how to disable reledit feature/view
doc/book/en/devweb/views/reledit.rst
--- a/doc/book/en/devweb/views/reledit.rst	Tue Sep 06 11:59:24 2011 +0200
+++ b/doc/book/en/devweb/views/reledit.rst	Tue Sep 06 12:01:27 2011 +0200
@@ -116,7 +116,14 @@
 which always work.
 
 
+Disable `reledit`
+*****************
 
+By default, this feature is available on all attributes of every entity primary view.
+If you want to disable `reledit` feature, you have to override by using uicfg:
 
+.. sourcecode:: python
 
+    import uicfg.primaryview_display_ctrl as _pvdc
+    _pvdc.tag_attribute(('Company', 'name'), {'vid': 'incontext'})