Re: [Zope3-Users] Re: What's the rationale of @@ ? Was: index.html

2005-12-13 Thread Frank Burkhardt
Hi, On Tue, Dec 13, 2005 at 02:02:05PM +0100, Andreas Elvers wrote: Hi all, what the rationale of @@ anyway ? I've searched for a definition for this in the Developer Handbook and elsewhere but it's hard to search for @@ and view. (To all Gurus: Please correct me, if I'm wrong) @@ marks a

Re: [Zope3-Users] Re: What's the rationale of @@ ? Was: index.html

2005-12-13 Thread Benji York
Andreas Elvers wrote: what the rationale of @@ anyway ? One of the reasons is that it creates a name space. If you have a view of a container named foo what happens if you create an object in the container also named foo? Does the object hide the view, or does the view hide the object?

Re: [Zope3-Users] Re: What's the rationale of @@ ? Was: index.html

2005-12-13 Thread Jim Fulton
Stephan Richter wrote: On Tuesday 13 December 2005 08:02, Andreas Elvers wrote: what the rationale of @@ anyway ? I've searched for a definition for this in the Developer Handbook and elsewhere but it's hard to search for @@ and view. For insight or pointer to documentation or source to this

Re: [Zope3-Users] Adapting a builtin?

2005-12-13 Thread Paul Winkler
On Tue, Dec 13, 2005 at 07:57:38AM +0100, Michael Howitz wrote: In unittests the ZCML-Directives are not used so you have to do the things from ZCML in your test-code before adaption. from zope.interface import classImplements from zope.app.testing import ztapi classImplements(str,

Re: [Zope3-Users] Re: Newcomer to Zope, question about Postgres

2005-12-13 Thread Stephan Richter
On Tuesday 13 December 2005 08:07, Andreas Elvers wrote: I have a working instance of Zope3 in Fedora, and I downloaded and built the psycopg adapter. I'm still getting errors when I try importing SQLObject, though. Is this a configuration thing, or did I neglect to download and install

Re: [Zope3-Users] Catalog for newbies

2005-12-13 Thread Stephan Richter
On Thursday 08 December 2005 10:56, Frank Burkhardt wrote: How do I use adapters in python? I've got an object implementing interface 'IFoo'. How to I turn it into an object implementing 'IBar'? Pretty much all introductory documentation for Zope 3 will talk about this, including the txt files

Re: [Zope3-Users] logout feature with zope3

2005-12-13 Thread Stephan Richter
On Wednesday 07 December 2005 00:40, Jing Song wrote:     But I'm having another trouble. We use ldap authentication to store the  user information.  How could that work with cookies to do login and  logout?  ls there any example or reference materials available? I am  pretty new in this area,

Fwd: [Zope3-Users] Problems building Zope3

2005-12-13 Thread Stephan Richter
I am forwarding this message to the zpkgtools mailing list, since this is not a pure Zope 3 problem. Since I am not a Windows user, I cannot answer the question. Regards, Stephan -- Forwarded Message -- Subject: [Zope3-Users] Problems building Zope3 Date: Tuesday 06 December

Re: [Zope3-Users] Permission required for renaming?

2005-12-13 Thread Stephan Richter
On Wednesday 30 November 2005 16:16, Alec Munro wrote: My users are unable to rename things, seemingly everywhere. They can add, remove, but not rename, or cut/copy. I'm not sure how to set the permission for this. I think we need some more specific background information to help you out

Re: [Zope3-Users] Denying permissions for 'everybody' - which principals to use?

2005-12-13 Thread Stephan Richter
On Wednesday 16 November 2005 15:38, Jeff Shell wrote: Am I denying the right person here? Globally, the permission is set up as follows:                        {'permission': 'zope.View',                         'role': 'zope.Anonymous',                         'setting': PermissionSetting:

Re: [Zope3-Users] Re: What's the rationale of @@ ? Was: index.html

2005-12-13 Thread Jim Fulton
Jeff Rush wrote: Frank Burkhardt wrote: On Tue, Dec 13, 2005 at 02:02:05PM +0100, Andreas Elvers wrote: what the rationale of @@ anyway ? I've searched for a definition for this in the Developer Handbook and elsewhere but it's hard to search for @@ and view. @@ marks a given path

Re: [Zope3-Users] Permission required for renaming?

2005-12-13 Thread Alec Munro
Thanks for the response. They are local users, and it's specific to every container type that I've created, I haven't had the chance to test with regular folders. The containers that I have inherit from OrderedContainer or BTreeContainer, and tend to be fairly minor customizations, simply adding