Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread Joseph Method
Interestingly enough, switching the implementation to BTreeFolder causes this error: AttributeError: 'DebtManager' object has no attribute 'getSiteManager' On 3/4/06, baiju m <[EMAIL PROTECTED]> wrote: > On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > > > is .interfaces.IDebtManager a ICon

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread baiju m
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > > is .interfaces.IDebtManager a IContainer interface, i.e., > > you are extending IContainer, like :: > > > class IDebtManager(IContainer): > >pass > > The class is > > class DebtManager(Folder): > > which implements IDebtManager whic

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread Joseph Method
> is .interfaces.IDebtManager a IContainer interface, i.e., > you are extending IContainer, like :: > class IDebtManager(IContainer): >pass The class is class DebtManager(Folder): which implements IDebtManager which is: class IDebtManager(IContainer): """IDebtManager Marker Inte

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread baiju m
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > What kind of thing would go into an IContainerInterface? is .interfaces.IDebtManager a IContainer interface, i.e., you are extending IContainer, like :: class IDebtManager(IContainer): pass And you will be implementing IDebtManager

[Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread Joseph Method
What kind of thing would go into an IContainerInterface? Just to be sure, I added the directives, although they seemed to be implied by the content directives, or I guess handled by addMenuItem. No dice. Fyi, here's the configure.zcml.

Re: [Zope3-Users] How do I start Zope?

2006-03-03 Thread baiju m
On 3/4/06, mwebster <[EMAIL PROTECTED]> wrote: > > At this point I have: > > Upgraded to Python 2.4.2 and confirmed that it works by launching IDLE and > seeing the correct version number > Run the installer Zope-3.2.0.win32-py2.4.exe > How do I start Zope so I can get to the Management screen or

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread baiju m
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > Hi, I get this error > > ForbiddenAttribute: ('add', object at 0x754d09ac>) > > when I try to add a "Claim" to a "DebtManager" (both are subclasses of > Folder) at http://localhost:8031/DebtManager/+/@@AddClaim.html > > The addform looks like t

[Zope3-Users] How do I start Zope?

2006-03-03 Thread mwebster
At this point I have: Upgraded to Python 2.4.2 and confirmed that it works by launching IDLE and seeing the correct version number Run the installer Zope-3.2.0.win32-py2.4.exe The old documentantion shows various bits about setting a username and password for the administrator,

Re: [Zope3-Users] introductory app idea: music filesystem browser

2006-03-03 Thread arbour
I think a calendar app is an outstanding idea, and I would certainly help.   I've gotten 3 different books on Zope 3 and Plone, and I still really can't get my head around it.  When compared to Rails and Django, Zope3 doesn't have those simple yet thorough examples to really get you going.   A beg

[Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread Joseph Method
Hi, I get this error ForbiddenAttribute: ('add', ) when I try to add a "Claim" to a "DebtManager" (both are subclasses of Folder) at http://localhost:8031/DebtManager/+/@@AddClaim.html The addform looks like this: and the content type declaration looks like:

[Zope3-Users] Re: Visionaire! (All your problems, solved)

2006-03-03 Thread Martin Aspeli
On Fri, 03 Mar 2006 09:10:56 -, Max M <[EMAIL PROTECTED]> wrote: Jeff Shell wrote: Yes it does. And I hate it. At Bottlerocket, we're a very small company. We look at Plone and go "alright, how do we make it do less? how do we turn this thing off, and this thing off, and this thing off,

Re: [Zope3-Users] ZODB - ways of storages?

2006-03-03 Thread Chris McDonough
Yes, more or less. But it depends what you want to do. There are a bunch of storages for ZODB, some maintained better than others. Whenever a question like this comes up, it usually turns out that people want to use a relational database with a single well-defined rectangular schema to s

Re: [Zope3-dev] Re: [Zope3-Users] Visionaire! (All your problems, solved)

2006-03-03 Thread Chris Withers
Stefane Fermigier wrote: Zed/The Component Architecture Formerlyknown as Zope/GoldEgg/whatever that's not called Zope something: YUCK! (Who's Zed? Zed's dead, baby!) + sys.maxint Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___

[Zope3-Users] Re: [Zope3-dev] Re: Visionaire! (All your problems, solved)

2006-03-03 Thread Chris Withers
Martin Aspeli wrote: Personally, I still find it hard to know where the line goes between the ZMI and my own UI code, if I should be extending the ZMI or replacing it. Perhaps because I'm tainted by Zope 2's idea of the ZMI, though. I'm fairly sure the idea with Zope 3 was to be able to re-use

Re: [Zope3-Users] Re: [Zope3-dev] Visionaire! (All your problems, solved)

2006-03-03 Thread Martijn Faassen
Martin Aspeli wrote: On Thu, 02 Mar 2006 11:49:31 -, Lennart Regebro <[EMAIL PROTECTED]> wrote: This should be Zope3 as it is now. A couple of things can go away. Maybe the rotterdam skin, I don't know. Definitely the default Folder objects and such. People, especially Zope2 people, think

Re: [Zope3-Users] datafield as objectname

2006-03-03 Thread Egon Frerich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stephan, to have a datafield as an objectname is a very frequent use case. So I assumed there should be a builtin way to redirect. Egon Stephan Richter schrieb am 01.03.2006 14:13: > On Tuesday 28 February 2006 10:28, Egon Frerich wrote: > >>Wh

[Zope3-Users] Problem with XHTML in Pagetemplates

2006-03-03 Thread Frank Burkhardt
Hi, I try to create XHTML documents from Pagetemplates but unfortunately tags are not always closed correctly. Example: is Rewritten to which invalids the entire page. How can I enforce correctly closed Tags? Regards, Frank ___ Zope3-users

Re: [Zope3-Users] datafield as objectname

2006-03-03 Thread Egon Frerich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Brett, you 'll see my code is in German but I assume that is not a problem. > from zope.app.container.contained import NameChooser > from zope.app.exception.interfaces import UserError > > class ObjektNamenFuerRaumBestimmer(NameChooser): > >

[Zope3-Users] ZODB - ways of storages?

2006-03-03 Thread Reinhold Strobl
Hi, in the book "Web component development with ZopeX3" by Philipp von Weitershausen on page 72 I find the following statement: "The ZODB can store persistency data in many ways. The most common storage is FileStorage which stores data in a file usally called Data.fs By using a different storage

Re: [Zope3-Users] PyWebOff

2006-03-03 Thread Tom Dossis
Shane Hathaway wrote: Hello, I've been assigned to present Zope in a local upcoming Python user group meeting. As part of the assignment, I'm supposed to solve the PyWebOff challenge using Zope: http://pyre.third-bit.com/pyweb/challenge.html I'd like to do this using Zope 3. However, I'm

Re: [Zope3-Users] Visionaire! (All your problems, solved)

2006-03-03 Thread Max M
Jeff Shell wrote: Yes it does. And I hate it. At Bottlerocket, we're a very small company. We look at Plone and go "alright, how do we make it do less? how do we turn this thing off, and this thing off, and this thing off, and this thing off? why is it so slow? and it still doesn't do the page w