Thanks for the advice (below). I added another parameter for meta type and 
everything works great. What's the advantage of using Python Method rather 
than an external method, other than thru-the-web editing? Any disadvantages?

At 10/24/00 06:45 PM, Itamar Shtull-Trauring wrote:
>Write a Python Method (install the PythonMethods product first) called say,
>publishableObjectValues that does that:
>
><param>self</param>
>
># functions that returns publishable objects
>result = []
>for o in self.objectValues():
>    if o.isPublishable(): result.append(o)
>return result


--
Dennis Nichols
[EMAIL PROTECTED]


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to