[Zope] Property Question

Tom Scheidt Tom Scheidt" <tom@falsemirror.com
Mon, 12 Jun 2000 13:46:37 -0400


Hi,

I need this:

result = []
for item in self.objectValues( [ 'DTML Document' ] ):
    if item.hasProperty( 'publish' ):
       result.append( item )
return result

to be:

result = []
for item in self.objectValues( [ 'DTML Document' ] ):
    if item.hasProperty( 'publish' ):
(and if there is something entered in the 'publish' field)
       result.append( item )
return result

Thanks in advance.

Tom Scheidt   |   www.falsemirror.com   |   tom@falsemirror.com
----------------------------------------------------------------------------
-----------