[Zope3-Users] ftest: No registered publisher found for (GET/)

2006-04-16 Thread Egon Frerich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, my simple test module is > # -*- coding: utf8 -*- > > import unittest > from zope.app.testing.functional import FunctionalDocFileSuite > > > def test_suite(): > suite = unittest.TestSuite( > FunctionalDocFileSuite(u'RaumInfoVerw

[Zope3-Users] Starting thread in object deserialize

2006-04-16 Thread Alek Kowalczyk
Hello, I have an object which needs to be associated with a thread. The thread should be started on object creation and stopped when object is removed or zope is stopped. The object is persistent - there is a possibility that it will be created by both web interface and when starting zope (deseri

[Zope3-Users] Re: Starting thread in object deserialize

2006-04-16 Thread Alek Kowalczyk
I'll try to explain that a wee bit more, here is the Use Case: I have an IMonitorsContainer containing IMonitor(s). When a user creates new Monitor instance (using "Add Monitor" on the web), the created Monitor should start thread and periodically perform measurements (configured by the user by

[Zope3-Users] Re: Referencing objects in auto-generated forms

2006-04-16 Thread Jeff Rush
Frank Burkhardt wrote: On Sat, Apr 15, 2006 at 08:41:57AM -0700, Ruben Gutierrez wrote: I'm having trouble understanding some of the semantics or conventions with Zope. One simple question I have is how do I create a list of selectable values in a form. Sounds like a classic use case for a

[Zope3-Users] Re: A Few Questions re Namespaces

2006-04-16 Thread Jeff Rush
Martin Aspeli wrote: 2. I finally found the "+" view in container/browser, but all uses of it are as "/@@+/newitem.html". I could have sworn I saw the "+" used w/o the "@@" prefix someplace but can't find it again. Did I indeed imagine ever seeing "/+/newitem.html"? No, I'v

[Zope3-Users] Found a (perhaps obvious) page template speedup

2006-04-16 Thread Jeff Rush
Perhaps most of you already know this but it bit me this week. For my project I've noticed some sluggish presentation of pages, and a lot of container queries flying around for very simple pages. It turns out to be Javascript code (singleBranchTree.xml) that is walking one-level of parents, si