Re: [Zope-dev] Externalize or Adapt? (ZPatterns)

2000-06-10 Thread Mike
Mike wrote: I will add a "retrieveItem" method to the Specialist which, instead of accessing a rack in the local specialist (the default implementation), it will instead call (for example) SkyDivers.getItem(). Thus, when you call Customers.getItem(), you will actually get an object

Re: [Zope-dev] Externalize or Adapt? (ZPatterns)

2000-06-10 Thread Phillip J. Eby
At 06:31 PM 6/10/00 +0800, Mike wrote: Maybe the best way is to put a 'thumb' data source into Customers instead of native one. This thumb should translate all messages to SkyDivers' data source. Yes, a "Delegation Rack" is certainly possible. It would make it really easy to merge data from

Re: [Zope] logout

2000-06-10 Thread Tino Wildenhain
Hi James, James Cummings wrote: Ok, since I haven't found this by searching the site or the mailing list archive, is it possible to logout as superuser? I would like to be able to login as a different user, but I haven't been able to find out how to do this. often prependig the url with

Re: [Zope] Re: dtml-tree with data from multiple tables

2000-06-10 Thread Tino Wildenhain
Hi Lance, Lance Kurisaki wrote: I'd like to generate a tree with data from different SQL tables depending on the tree level. In other words, the first level data comes from one table, second level comes from another. How can the branches_expr expression determine what the current tree

[Zope] [Ann] Zope 2.1.6: dtml-in patchIt provides complete batching info at sequence start *and* end It provides complete batching info at sequence start *and* end

2000-06-10 Thread Dieter Maurer
The Zope 2.1.6 dtml-in provides batching information for the previous batch at the start and end of the sequence. Batching information for the following batch, however, is only available at sequence end. This makes it difficult to provide uniform navigation (to previous/next batch) both before

Re: [Zope] [Ann] Zope 2.1.6: dtml-in patch It provides complete batching info at sequence start *and* end It provides complete batching info at sequence start *and* end

2000-06-10 Thread Martijn Pieters
On Sat, Jun 10, 2000 at 12:57:10PM +0200, Dieter Maurer wrote: The Zope 2.1.6 dtml-in provides batching information for the previous batch at the start and end of the sequence. Batching information for the following batch, however, is only available at sequence end. This makes it difficult

Re: [Zope] ZEO ..again ;)

2000-06-10 Thread Paul Everitt
Bill Anderson wrote: OK, after reveiwing the ZEO FAQ, I realized that we seem to be a few weeks behind schedule. Is there any updates on a time frame? I know this would certainly help amk out with his project, and would certainly help me out, even in non-zope apps (I am working on moving a

[Zope] Problems extracting property type from a ZClass?

2000-06-10 Thread Darran Edmundson
I'm trying to automatically extract the property names, types and default values from the propertysheet of a class. I'm being foiled by the following bit of strangeness. Consider the following snippet of DTML: dtml-in "propertyIds()" dtml-let pid="_['sequence-item']" dtml-var pid

Re: [Zope] ZCatalog and Search Results

2000-06-10 Thread Aaron Payne
At 07:37 pm 6/9/00 +, Jason Spisak wrote: Then it has to be the search forms. Can you sned me the search and report methods. Also, you should try looking up and instance programatically right after you create it, like so: dtml-in "Catalog(myProperty='knownValue')" dtml-var id /dtml-in

[Zope] Traversable DTML methods

2000-06-10 Thread Ian Sparks
It seems strange to me that SQLMethods are traversable out of the box and "normal" DTML methods are not. It seems to me that traversable DTML methods would be useful (to me this means DTML Methods with parameters). Is this something that might make it into Zope in the future or am I missing

[Zope] ZCatalog in python

2000-06-10 Thread ed colmar
I'm in a similar situation with Aaron, except my product is mostly python. I emulated the cataloging in the PortalCatalog method, but left out the permission check. When my product is added to a folder, the catalog gets created, and has the indexes I set up. I can create a

[Zope] error (200)

2000-06-10 Thread Mike Mikkelsen
Hello all, My Zope (2.1.6) installation has just become *very* unstable. My most recent addition has been ZPatterns and LoginManager. My passwords for my virtual sites (using SiteRoot) are no longer accessable by my account and superuser can't access them. The site "disappears" three or four

[Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread chas
Hi Folks, I've often heard about the infinite-scalability that will be created by something like ZEO and I've always wondered about one thing : how is the load-balancing being done ? Just say we have 3 front-line servers (ZSERVER_1, ZSERVER_2 and ZSERVER_3 in the diagram below), each running

Re: [Zope] error (200)

2000-06-10 Thread Martijn Pieters
On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote: My Zope (2.1.6) installation has just become *very* unstable. My most recent addition has been ZPatterns and LoginManager. My passwords for my virtual sites (using SiteRoot) are no longer accessable by my account and superuser

Re: [Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread Andrew Kenneth Milton
+[ chas ]- | | | ps. In the past I've got around this by ensuring that if the | very first request from a given browser is dealt with by, say, | server silo8.domain.com, then all subsequent requests from that | browser are also dealt

[Zope] Exceptions and XMPRPC

2000-06-10 Thread Peter Kropf
I'm using XMLRPC and Zope for prototyping an application in python. And for the most part, things are VERY easy to accomplish. But I sometimes run into troubles with error handling. It's fairly easy to make a slight mistake in an external python method which takes a fair amount of effort to

[Zope] closed Portal

2000-06-10 Thread Graham Chiu
I just downloaded and installed the latest checkout from the PTK for the first time. It seems that if I want to have a closed Portal, I can't use Zope's authentication mechanisms to allow users into the folder that contains the Portal as the Portal then complains that the user has already been

Re: [Zope] Zope w/ FreeBSD 4.

2000-06-10 Thread Andrew Kenneth Milton
+[ Jason C. Leach ]- | hi, | | I would do with a hand getting zope working w/ FreeBSD 4. I make it by | going to the /usr/ports, and why I try and start it with './start' I get | the errors at the end of this msg. Don't use it out of ports. For

RE: [Zope] Re: dtml-tree with data from multiple tables

2000-06-10 Thread Lance Kurisaki
Thanks for the hint! A small example would be nice, if it's not too much trouble! Lance -Original Message- From: Tino Wildenhain [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 10, 2000 2:26 AM To: Lance Kurisaki Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Re:

Re: [Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread Anthony Baxter
chas wrote I've often heard about the infinite-scalability that will be created by something like ZEO and I've always wondered about one thing : how is the load-balancing being done ? There's a number of approaches you can take here: 1. Buy something - a cisco localdirector, an arrowpoint

Re: [Zope] Traversable DTML methods

2000-06-10 Thread Anthony Baxter
Use a pythonmethod with the traverse_subpath argument... Anthony "Ian Sparks" wrote It seems strange to me that SQLMethods are traversable out of the box and "normal" DTML methods are not. It seems to me that traversable DTML methods would be useful (to me this means DTML Methods with