[Zope] Changing properties for bunch of zclass objects

Max M maxmcorp@worldonline.dk
Thu, 31 May 2001 00:27:43 +0200


Maybe this will help:

<dtml-call "REQUEST.set('articls',
portal_catalog.searchResults(meta_type='CMFArticle'))"
<dtml-in articls>
   <dtml-with sequence-item>
   <dtml-call "_propertysheets.Extra.manage_changeProperties(
    highlighted='on',
    featured='on')">
</dtml-in>

regards max M

Max M. W. Rasmussen,    Denmark.   New Media Director
private: maxmcorp@worldonline.dk work: maxm@normik.dk
-----------------------------------------------------
Shipping software is an unnatural act

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Adrian Madrid
> Sent: Thursday, May 31, 2001 12:07 AM
> To: zope@zope.org
> Subject: [Zope] Changing properties for bunch of zclass objects
>
>
> I need to change the properties of a bunch of zclass
> objects and I can't seem to hit the zen necessary.
> HELP!
>
> Here's my unsuccesful code:
>
> <dtml-let
> articls="portal_catalog.searchResults(meta_type='CMFArticle')">
> <dtml-in articls>
> <dtml-with sequence-item>
> <dtml-call
> "_propertysheets.Extra.manage_changeProperties(
> highlighted='on',
> featured='on'
> )">
> </dtml-with>
>
>
>
>
> =====
> ---------------------------
> Adrian Esteban Madrid
> Benson Institute, Webmaster
> Brigham Young University
> ---------------------------
> adrian_esteban@madrid.com
> ===========================
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>