[Zope3-Users] Re: zc.buildout and unreleased eggs in svn

2007-01-31 Thread Philipp von Weitershausen
Martin Aspeli wrote: Philipp von Weitershausen wrote: Does this example actually work? No, it doesn't. The format is #egg=-. We use it currently on the CheeseShop page for grok and grokproject. You can easy_install these two even though there's no release. Setuptools will simply get them from

[Zope3-Users] Doctests and authenticated principal

2007-01-31 Thread Maciej Wisniowski
Hi I'm writing doctest using DocFileSuite. Code that I'm testing needs information about currently authenticated principal. It uses: request.principal.id to get it. In doc test I may use: >>> request = TestRequest() >>> class User(object): ... id = 'Jan' ... title = 'Jan Kowalski' >>> re

[Zope3-Users] Catalogs Broken?

2007-01-31 Thread David Johnson
I am trying to figure out what a catalog does, so I began testing. 1. In ZMI add Catalog (no problem) 2. In Catalog add Field or Text index (doesn't matter) 3. Select interface (I'm using a simple "Note" content type I created note.INote) 4. Put in "body" as the attribute 5. Callable is not sel

Re: [Zope3-Users] Catalogs Broken?

2007-01-31 Thread Dominique Lederer
David Johnson schrieb: > I am trying to figure out what a catalog does, so I began testing. > 1. In ZMI add Catalog (no problem) > 2. In Catalog add Field or Text index (doesn't matter) > 3. Select interface (I'm using a simple "Note" content type I created > note.INote) > 4. Put in "body" as the a

Re: [Zope3-Users] Catalogs Broken?

2007-01-31 Thread Fred Drake
On 1/31/07, Dominique Lederer <[EMAIL PROTECTED]> wrote: you have to add and register a Unique Id Utility first, which is required by the Catalog to work. Indeed. This suggests that the catalog add form in the ZMI should inform the user of this requirement if it isn't met, and maybe include an

[Zope3-Users] How To Kill Zope

2007-01-31 Thread David Johnson
I'm not sure what I'm doing wrong (again) here, but the following two code snippets in a ZPT will kill the Zope instance: This a Test Page. The title of this page is: This a Test Page. The title of this page is: -- David ___ Zope3-users mai

Re: [Zope3-Users] Catalogs Broken?

2007-01-31 Thread David Johnson
Thank you kindly. That did the trick. On Jan 31, 2007, at 11:44 AM, Dominique Lederer wrote: David Johnson schrieb: I am trying to figure out what a catalog does, so I began testing. 1. In ZMI add Catalog (no problem) 2. In Catalog add Field or Text index (doesn't matter) 3. Select interface (

Re: [Zope3-Users] How To Kill Zope

2007-01-31 Thread Tom Gross
Hi David, the first one should be fine, it displays the contents of the request. The second one tries to render the template within the template within the template a classic recursion error. What do you want to do? Cheers -Tom David Johnson wrote: I'm not sure what I'm doing wrong (a

Re: [Zope3-Users] How To Kill Zope

2007-01-31 Thread Stephan Richter
On Wednesday 31 January 2007 08:49, Tom Gross wrote: >     the first one should be fine, it displays the contents of the request. > The second one tries to render the template within the template within > the template a classic recursion error. > What do you want to do? Really? "template" sho

[Zope3-Users] objectwidget help

2007-01-31 Thread Ivan Horvath
Dear All, in my implementation there is an object. one of this object properties is a List. containing other objects. the class which inherits ObjectWidget receives always the same context, actually that object which contains the object property. class MyDispFieldsWidgetDisplay(ObjectWidget)

Re: [Zope3-Users] objectwidget help

2007-01-31 Thread Tom Gross
Hi Ivan, I might be wrong, but I think there's an example for listwidgets containing objects in the zope3demos-package: http://code.google.com/p/zope3demos/ Maybe it helps. Cheers -Tom Ivan Horvath wrote: Dear All, in my implementation there is an object. one of this object properties

Re: [Zope3-Users] objectwidget help

2007-01-31 Thread Ivan Horvath
Title: Iván Horváth thank you Tom! i downloaded, but unfortunately i cannot see it in my browser. what is the url for the otherdemos objectsofobject2 package? Tom Gross wrote: Hi Ivan,    I might be wrong, but I think there's an example for listwidgets containing objects in the zope3demo

Re: [Zope3-Users] objectwidget help

2007-01-31 Thread Tom Gross
Hi Ivan, did you get the code from the repository? It's: svn checkout http://zope3demos.googlecode.com/svn/trunk/ zope3demos Cheers -Tom Ivan Horvath wrote: thank you Tom! i downloaded, but unfortunately i cannot see it in my browser. what is the url for the otherdemos objectsofobject2 pac

Re: [Zope3-Users] objectwidget help

2007-01-31 Thread Ivan Horvath
Title: Iván Horváth Hi Tom, yes, but i made another checkout to another folder, renamed the previous one. it is the same on the index page http://localhost:8080/@@z3d.index.html i have the following contents (below) and e.g. Create Formlib2 Demo Object link doesn't work, after entering a name

Re: [Zope3-Users] How To Kill Zope

2007-01-31 Thread Marius Gedminas
On Wed, Jan 31, 2007 at 10:28:14AM -0500, Stephan Richter wrote: > On Wednesday 31 January 2007 08:49, Tom Gross wrote: > >     the first one should be fine, it displays the contents of the request. > > The second one tries to render the template within the template within > > the template a c

[Zope3-Users] [German Zope Conference] Call for papers open

2007-01-31 Thread Andreas Jung
From: Andreas Jung <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], zope@zope.org, zope-announce@zope.org, zope-dev@zope.org Subject: [Zope-Annce] [German Zope Conference] Call for Papers open Date-Sent: 1. Februar 2007 08:06:52 Dear Zope Community, the eighth Zope conference organized by the German