Alphaflow ALF 中 如何判斷某一 Role 沒有 member

"joseph_lai" <[email protected]> Thu, 15 Feb 2007 15:24:20 +0800
Newsgroups gmane.comp.web.zope.chinese
Message-ID <[email protected]>
請問  ALF 中 condition 要如何判定 role review1 之member是否為 空

<workflow id=....
<switch id="check_role_review1"
            title="check if review1 has member"
            mode="first">
            <case id="has member" title="review1 yes" condition="python: listRelevantUsers(review1)  "
                    activities="review_1"/>
            <case id="no_member" title="not review1"  condition="python:listRelevantUsers(review1) is null"
                    activities="check_role_review2"/>
    </switch>

_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese