[Zope] ZClasses inheriting property(sheets) : yes/no?

2000-11-10 Thread Aaron Straup Cope
Hi, If I create a ZClass that inherits another ZClass, do I also inherit the latter's properties/propertysheet? From what I've read so far, I thought the answer was yes but I can't seem to figure out how to *get* at them. I created a ZClass called "Foo" that inherits a ZClass named "Meta". Meta

Re: [Zope] ZClasses inheriting property(sheets) : yes/no?

2000-11-10 Thread Aaron Straup Cope
Thanks! I have a new question that may (?) be the same old one in a different form: The idea is to have two ZClasses, say Foo and Bar. Bar is a nested class of Foo. The Foo object should be able create n instances of the Bar objects and the Bar object should also be able to create n instances

[Zope] zlib.error : huh?

2000-11-09 Thread Aaron Straup Cope
I am trying to understand what exactly is going on when Zope returns an Error -5 page. Normally, this only happens on the left hand navigational menu but today it happened while I was expanding an xml document/tree object from the Examples package for the XML Document product. I've tried

Re: [Zope] zlib.error : huh?

2000-11-09 Thread Aaron Straup Cope
Oh yeah, cookies. Okay. Is there a workaround/Product that solves this problem? If it's just a cookie thing, I don't know what it would be but I figure it doesn't hurt to ask. On Thu, 9 Nov 2000, Shane Hathaway wrote: Aaron Straup Cope wrote: I am trying to understand what exactly

[Zope] Products, ZClasses and CatalogAware-ness

2000-11-09 Thread Aaron Straup Cope
Hi, Could someone clarify the following for me: I would like to create a Product that instantiates itself with a ZCatalog and a search interface "built-in". I'd like make all the Product's ZClasses update the catalog whenever they are changed. If I make all the classes catalog-aware and point

[Zope] Products : dependencies (or who's on first?)

2000-11-01 Thread Aaron Straup Cope
Okay, here goes : I installed the PTK product some time ago, decided that it wasn't where I needed to be right now and moved on to something else. Today I finally decided to delete it from my Products folder. Shortly afterwards, I noticed that both my existing FlexFAQ and ZDiscussion objects

RE: [Zope] Zope Apache/ProxyPass : environment variables

2000-10-31 Thread Aaron Straup Cope
/misc_/$1 [L,P] In this case, REMOTE_ADDR will be available in the REQUEST namespace under "client_ip" HTH -Original Message- From: Aaron Straup Cope [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 5:47 AM To: [EMAIL PROTECTED] Subject:[

[Zope] Zope Apache/ProxyPass : environment variables

2000-10-30 Thread Aaron Straup Cope
Hi, Does anyone know if it is even *possible* to pass environment variables (specifically REMOTE_USER) to Zope when it is set up behind Apache/ProxyPass. I've looked around the list archives, and the Apache docs and tried a bunch of different configs but nothing works. I'm starting to wonder if

Re: [Zope] OT: documentation systems.

2000-10-19 Thread Aaron Straup Cope
I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com

[Zope] ZSQL Method AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping

Re: [Zope] ZSQL Method AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: dtml-in expr= "lookup_by_username(username=REQUEST.AUTHENTICATED_USER.getUserName()" (Untested) -jon Aaron Straup Cope [EMAIL PROTECTED] writ

[Zope] Determining permissions in a Product

2000-10-17 Thread Aaron Straup Cope
Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with

[Zope] proxied proxies with Zope Apache

2000-10-13 Thread Aaron Straup Cope
Hi, I have Zope set up running with Apache/SSL using mod_proxy and the SiteRoot product. Everything works fine. The thing is, if I understand stuff correctly, all the requests to https://hostname.com get handed off to Zope. I would like to be able use the same hostname for plain old Apache-isms

Re: [Zope] Newbie question : ZopeTime permissions

2000-10-10 Thread Aaron Straup Cope
g, I would be grateful if someone would correct me. Otherwise, I hope that helps other newbies who find themselves in a similar situation. On Sun, 8 Oct 2000, Dieter Maurer wrote: Aaron Straup Cope writes: My problem is that I can't seem to figure out, specifically, which permissions to g

[Zope] Newbie question : ZopeTime permissions

2000-10-06 Thread Aaron Straup Cope
Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin, user. I'd like to give the last two the bare minimum Security permissions possible and adding them as needed later on. My problem is that I can't seem to figure out, specifically, which permissions

Re: [Zope] Newbie question : ZopeTime permissions

2000-10-06 Thread Aaron Straup Cope
Doh! Sorry. Error Type: KeyError Error Value: ZopeTime On Fri, 6 Oct 2000, knight wrote: Aaron, you left out the error. What was it... On Fri, 6 Oct 2000, Aaron Straup Cope wrote: Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin