web/views/workflow.py
changeset 3293 69c0ba095536
parent 3230 1d25e928c299
parent 3262 12ffb1e95771
child 3369 7b88d12b4ee2
--- a/web/views/workflow.py	Tue Sep 15 15:01:41 2009 +0200
+++ b/web/views/workflow.py	Thu Sep 17 15:16:53 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 #########################################################