Hi, I wanted to know if tal:repeat wake-up all objects in a container as <dtml-in> does. Thanks. ===== Hamzat kamaldeen Ishola Dnet Systems Limited. 223 Ikorodu Road, Lagos. Nigeria. 234 1 7749381, 234 08033011305 --- Making Mistake is not a problem but readiness to admit it. Sentimental decisions are not mistakes but failures !!! Mistake is an opportunity to see better !!! __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
Hi,
I wanted to know if tal:repeat wake-up all objects in a container as <dtml-in> does.
Thanks.
Also I will like to know if python script is used to iterate over the objects in a container will as well wake up the objects each time is been called.
Yep and yep. Thats why objectIds is fast and useful it just returns the list of object ids from the container. -- Andy McKay @gmweb Consulting http://www.agmweb.ca ----- Original Message ----- From: "Saleh Abubakar" <SalehAbubakar@jambng.com> To: <k_hamzat@yahoo.com> Cc: <zope@zope.org> Sent: Wednesday, July 31, 2002 10:48 AM Subject: Re: [Zope] wake up zope objects
Hi,
I wanted to know if tal:repeat wake-up all objects in a container as <dtml-in> does.
Thanks.
Also I will like to know if python script is used to iterate over the objects in a container will as well wake up the objects each time is been called.
_______________________________________________ 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 )
On Wednesday 31 Jul 2002 6:48 pm, Saleh Abubakar wrote:
Hi,
I wanted to know if tal:repeat wake-up all objects in a container as <dtml-in> does.
Thanks.
Also I will like to know if python script is used to iterate over the objects in a container will as well wake up the objects each time is been called.
For all through the web code, yes. The security machinery has to check the security settings of the object, so ZODB has to activate them. For trusted code, no not necessarily. ZODB doesnt activate the object just because you have a reference to it. However it would be a very strange iteration unless it used some attributes of those objects - and that will cause them to be activated.
participants (4)
-
Andy McKay -
Hamzat Kamal -
Saleh Abubakar -
Toby Dickenson