web/views/workflow.py
branch3.5
changeset 3262 12ffb1e95771
parent 3228 7b05b2709439
child 3293 69c0ba095536
child 3304 2b18276b21ab
--- a/web/views/workflow.py	Wed Sep 16 17:26:24 2009 +0200
+++ b/web/views/workflow.py	Wed Sep 16 17:26:52 2009 +0200
@@ -20,10 +20,15 @@
 from cubicweb.interfaces import IWorkflowable
 from cubicweb.view import EntityView
 from cubicweb.schema import display_name
-from cubicweb.web import stdmsgs, action, component, form, action
+from cubicweb.web import uicfg, stdmsgs, action, component, form, action
 from cubicweb.web import formfields as ff, formwidgets as fwdgs
 from cubicweb.web.views import TmpFileViewMixin, forms, primary
 
+_abaa = uicfg.actionbox_appearsin_addmenu
+_abaa.tag_subject_of(('BaseTransition', 'condition', 'RQLExpression'), False)
+_abaa.tag_subject_of(('State', 'allowed_transition', 'BaseTransition'), False)
+_abaa.tag_object_of(('SubWorkflowExitPoint', 'destination_state', 'State'),
+                    False)
 
 # IWorkflowable views #########################################################