[Zope] manage_changeProperties self help
Trevor Toenjes
zope@toenjes.com
Thu, 14 Feb 2002 09:15:16 -0500
Thanks. but no dice on that either.
<dtml-call "_.getitem(id).manage_changeProperties(hits=hits+1)">
<dtml-call "_.getitem(aq_parent).manage_changeProperties(hits=hits+1)">
and
<dtml-call "_.getId().manage_changeProperties(hits=hits+1)">
do not work.
I am just guessiing now...
-Trevor
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Bakhtiar Abdul Hamid
> Sent: Thursday, February 14, 2002 4:29 AM
> To: Trevor Toenjes
> Cc: zope@zope.org
> Subject: Re: [Zope] manage_changeProperties self help
>
>
> On Thu, 14 Feb 2002, Trevor Toenjes wrote:
>
> > banging my head here...
> > <dtml-call "manage_changeProperties(hits=hits+1)"> is in a method
> >
> > I have looked at aq, self(), id(), etc., but nothing works.
> > Explicitly calling the Document, works,
> > <dtml-call "myDoc.manage_changeProperties(hits=hits+1)">
> > but I need to script it...
>
> if you're getting the document dynamically, try
>
> <dtml-call
> "_[mydoc_id_or_something].manage_changeProperties(hits=hits+1)">
>
> or
> <dtml-call
> "_.getitem(mydoc_id_or_something).manage_changeProperties(hits=hits+1)">
>
> where you supply the doc id whichever way fits
>
> hth
> >
> > Thanks for the hint.
> > -Trevor
> >
> >
> >
> >
> > _______________________________________________
> > 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 )
> >
>
> --
> test
>
>
> _______________________________________________
> 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 )
>