Re: [Zope-dev] DTML tag creation.

2000-05-25 Thread Itamar Shtull-Trauring
Bill Anderson wrote: I am about to dive into a custom tag, it will be a 'container' tag. I have seen the HowTo, and it really isn't that clear when you get to the container tag info. Can anyone provide a better rundown? Anyone have a custom tag they would mind sharing for perusal? Just

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-25 Thread Steve Spicklemire
Hi Jonothan, Thanks for the thoughts "Jonothan" == Jonothan Farr [EMAIL PROTECTED] writes: Good questions! You can just go to the 'admin' tab and type 'diff'. The admin tab lets you execute just about any cvs command with arguments stat, rtag etc etc.

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-25 Thread Steve Spicklemire
Hi Michael, I need to put some verbage in the README about setting up the workspace on the filesystem to work with ZCVSMixin. No time like the present! ;-) Before you begin, you need to set up a cvs repository somewhere. This is described pretty well in the cvs reference:

Re: [Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-25 Thread Phillip J. Eby
At 01:56 PM 5/25/00 +0400, Jephte CLAIN wrote: When I don't wrap items like this, I get strange unauthorized errors. Only the super user can use the items. All the other users (Managers or not) can't. In normal usage, one only accesses a rack from or in a Specialist. Specialists wrap the

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-25 Thread Phillip J. Eby
At 12:45 AM 5/25/00 -0400, Tres Seaver wrote: Ah, ok -- I was planning simply to leverage the ZODB's facilities for maintaining persistent references in the DefaultObservable mix-in; more elaborate schemes would be possible (for instance to support rack-mounted observers?) Actually, just using

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-25 Thread Tres Seaver
Michel Pelletier [EMAIL PROTECTED] wrote: I'll do both, this is absolutely a desperately needed feature in the ZCatalog. Currently, Cataloged items must take responsibility for notifying a catalog of their changes instead of the ZCatalog observing them. Amos and I talked about this over

[Zope-dev] zpatterns: win32 dll for DynPersist?

2000-05-25 Thread Jephte CLAIN
Hello, Has someone compiled the DynPersist dll for win32? if someone has done so, it would be glad to send me a copy by tomorrow. it will help me greatly. TIA, jephte clain [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-25 Thread Chris Withers
Evan Simpson wrote: This exists! (sort of). ObjectManager.superValues accepts a list of meta_types, and returns a list of all objects of those meta_types which can be found in any ObjectManager in the current one's acquisition context. and has done for ages... the original Squishdot code

Re: [Zope-dev] Re: ZCatalog and Unique IDs

2000-05-25 Thread Michel Pelletier
Evan Simpson wrote: In the case of Catalogs, much of the time we're probably not interested in cataloging "whatever lives at this path address"; At the moment this is true, but Jim and I have discussed the possibility of ZCatalog being treating the paths less atomically and more as a

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-25 Thread Chris Withers
Michel Pelletier wrote: There allready exists such a thing, superValues([meta_type]). But I think this is too weak to use as a discovery protocol. An observable may not know or care what type of observer it wants to discover. Also, when it finds a number of various resources, catalogs lets

Re: [Zope-dev] Re: ZCatalog and Unique IDs

2000-05-25 Thread Chris Withers
Michel Pelletier wrote: At the moment this is true, but Jim and I have discussed the possibility of ZCatalog being treating the paths less atomically and more as a sequence of nodes from root to the target, this way, you could ask the catalog for all objects below a certain point that match

Re: [Zope-dev] Re: ZCatalog and Unique IDs

2000-05-25 Thread Evan Simpson
- Original Message - From: Chris Withers [EMAIL PROTECTED] who's the CTO? Jim Fulton, Chief Technology Officer. use paths instead of object monikers. Why not do both? Have an POID (CORBA style) to actually identify an object and then use paths of POIDS to identify stuff in a

[Zope-dev] Proposed change in the authentication

2000-05-25 Thread Jim Fulton
I propose to change the order which a vacation in URL traversal or performed. See and comment at: http://www.zope.org/Members/jim/ZopeSecurity/ProposalToAuthenticateDuringURLTraversal Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Technical Director (888) 344-4332 Python

RE: [Zope-dev] another validation problem

2000-05-25 Thread Brian Lloyd
The latest CVS version is giving autorization demands (and failures) with this DTMLmethod. This kind of construct used to work fine. dtml-var standard_html_header h2dtml-var title_or_id dtml-var document_title/h2 p dtml-with "_.namespace(SUB=[1,2])" dtml-if

Re: [Zope-dev] Proposed change in the authentication

2000-05-25 Thread Chris Withers
Jim Fulton wrote: http://www.zope.org/Members/jim/ZopeSecurity/ProposalToAuthenticateDuringURLTraversal I wonder whether this would fix the following problem: http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/82AE22A20C7E88AE What I reckon is happening is that HTTP is being dumb and

[Zope-dev] Ending up with a wrapped object through the web?

2000-05-25 Thread Kevin Dangoor
I'm trying to import KM|Net News into the latest Zope CVS. I am unable to import the .zexp or XML files into the latest (tracebacks at the end). When importing the .zexp, I get an "Attempt to store a wrapped persistent object" error. This is really puzzling, because I'm not sure how a completely

[Zope-dev] Re: Proposed change in the authentication

2000-05-25 Thread Jim Fulton
Jim Fulton wrote: I propose to change the order which a vacation in URL traversal or performed. See Sorry, I meant "authentication", not "a vacation". :) and comment at: http://www.zope.org/Members/jim/ZopeSecurity/ProposalToAuthenticateDuringURLTraversal Jim -- Jim Fulton

[Zope-dev] ZSQL Methods

2000-05-25 Thread David Cooper
Using ZSQLMethods against an ORACLE 8.0.6 Database. I have two tables, each with a NUMBER(6) key field. If I create a method which selects against each of the tables then method returns an integer (e.g. 5040), as expected. select index_number from names where name = 'name' or select

Re: [Zope-dev] Proposed change in the authentication

2000-05-25 Thread Ty Sarna
In article [EMAIL PROTECTED], Jim Fulton [EMAIL PROTECTED] wrote: I propose to change the order which a vacation in URL traversal or Good idea, we could all use a vacation :-) performed. See and comment at:

Re: [Zope-dev] another validation problem

2000-05-25 Thread Robin Becker
In article [EMAIL PROTECTED], Michel Pelletier [EMAIL PROTECTED] writes ... Does it work if you: dtml-with "_(SUB=[1,2])" ... /dtml-with and call the namespace directly? The two are supposed to be synonymous but your method is depricated so perhaps it works the other way, if not, I'd suggest

Re: [Zope-dev] Resource Discovery (was Observer / Notification Interface Proposal) Proposal)

2000-05-25 Thread Phillip J. Eby
At 10:03 AM 5/26/00 +1000, Anthony Baxter wrote: "Phillip J. Eby" wrote I would suggest that it ask for an interface, rather than a meta_type. Otherwise, you've hardwired yourself into a single object type with no extensibility. For example, an SQL method wants the nearest SQL connection,