[Zope] finding string1 or string2
Thu, 27 Jun 2002 21:06:09 +0200
I suppose your suggestion is valid "per se", i.e. not depending on
manage_findAdv: in this case, is document_src() a method working with all
documents having a source or only with DTML Document objects?
In other words, can I do something like:
and expect it works?
At 20:22 27/06/2002 +0200, Dieter Maurer wrote:
> > Does somebody suggest me what's the way to use manage_findAdv to find
> > Documents containing string1 or string2?
>You may try the expression:
> document_src().find('string1') >= 0 or
> document_src().find('string2') >= 0
>This requires Python 2.1.x.