1 ## Script (Python) "topic_addCriterion"
2 ##bind container=container
6 ##bind subpath=traverse_subpath
7 ##parameters=field, criterion_type, **kw
12 context
.addCriterion(field
=field
, criterion_type
=criterion_type
)
13 return context
.setStatus(True, 'Criterion added.')
15 return context
.setStatus(False, 'Criterion adding canceled.')