AW: [Zope-CMF] How to LOOK THROUGH acquisition?

Jens Hauser hauser at pilsgenuss.de
Wed Sep 1 08:29:55 EDT 2004


Hi Eugene, 

> -----Ursprüngliche Nachricht-----
> Von: zope-cmf-bounces at lists.zope.org 
> [mailto:zope-cmf-bounces at lists.zope.org] Im Auftrag von Eugene
> Gesendet: Mittwoch, 1. September 2004 14:18
> An: zope-cmf at zope.org
> Betreff: Re: [Zope-CMF] How to LOOK THROUGH acquisition?
> 
> How can I look througt acquisition process?
> For example, I have some folders and attributes in them, I have not
> only to take them, but found all of them - if they are overlapping, I
> can acquisit only the last. What about the order in which they are
> taken?
> Can I control this process?
I'm afraid, you're asking the wrong person ... ;-)

In fact, you're question is related to mine ... and I'm not able to answer
it.

Best regards,
Jens

 
> Thanks.
> 
> > Hi,
> 
> > I would like to disable acquisition "temporarily" to do the 
> following (Plone
> > 2, Zope 2.7.x):
> 
> > I added the following code snippet to "folder_listing" in 
> custom folder:
> 
> > ###CUT
> >         <!-- JH: if a document called intro exists, we 
> insert it here -->
> >         <div class="stx"
> >              tal:condition="exists:here/intro"
> >              tal:define="doc nocall:here/intro| nothing"
> >              tal:attributes="class
> > python:test(doc.text_format=='structured-text', 'stx', 'plain')">
> >             <div tal:replace="structure
> > python:doc.CookedBody(stx_level=2)"
> />>
> >         </div>
> > ###CUT
> 
> > This works so far but my problem is, that it looks for a 
> file "intro" within
> > a folder AND it's parents. This is not what I want to have. 
> I want the
> > script only to look into the current folder represented by 
> "here" and not
> > into any parents of the actual folder.
> 
> > Can anybody tell me how to achieve this?
> 
> > best regards,
> > Jens
> 
> > j.a.m. GmbH
> > Computer, Systemberatung, Webhosting, Softwareentwicklung
> > Eschersheimer Landstraße 471
> > 60431 Frankfurt am Main
> > fon (069) 46 09 88 - 13
> > fax (069) 46 09 88 - 78
> > url http://www.jam-gmbh.de
> 
> > _______________________________________________
> > Zope-CMF maillist  -  Zope-CMF at lists.zope.org
> > http://mail.zope.org/mailman/listinfo/zope-cmf
> 
> > See http://collector.zope.org/CMF for bug reports and 
> feature requests
> 
> 
> 
> -- 
> Cheers,
>  Eugene                          mailto:el-spam at yandex.ru
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests
> 



More information about the Zope-CMF mailing list