Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Phillip J. Eby
At 05:26 PM 6/28/00 +0100, Steve Alexander wrote: > >The suggested specialists in the Accounting framework are: > > Invoices > Orders > Customers > Products > >What I'm finding is that these are just the White-box specialists. A >clean design would seem to want all the specialists above, plus

Re: [Zope-dev] ZPatterns Specialist Question

2000-07-04 Thread Phillip J. Eby
At 11:54 AM 7/3/00 +0100, Chris Withers wrote: >Just a quickie: > >If, as the the ZPatterns Wiki states, 'Specialists are not classes', >then why is there a 'Specialist' python class in the ZPatterns >distribution? > Specialists are instances of the class "Specialist". They are not themselves cl

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Chris Withers
"R. David Murray" wrote: > This is distressing. I'm building a new shopping cart site, and > doing it under 2.2.0 CVS (as of 7/1). I've added four items. > If I search for certain keywords that I know only appear on one > item, I get two items returned. The other item has no trace of > the spec

Re: [Zope-dev] bug in zpatterns-0.4 ?

2000-07-04 Thread Phillip J. Eby
At 10:33 AM 7/4/00 +0400, Jephte CLAIN wrote: > >Back to my first question: is it intended that Rack.createItem (a IMHO >low level method) calls Rack.getItem (a IMHO higher level method) to >check the existence of the item? Yes. It is perfectly valid OO design (and common framework-building prac

Re: [Zope-dev] bug in zpatterns-0.4 ?

2000-07-04 Thread Jephte CLAIN
"Phillip J. Eby" wrote: > Nope. The two levels of methods (get/retrieve and new/create) are there to > seperate Rack-level concerns from implementation concerns. getItem() and > newItem() handle maintenance of Rack-level invariants such as the retrieval > cache, while retrieveItem() and createIt

[Zope-dev] site versions with zope

2000-07-04 Thread Nathalie Bernier
Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Thanks Nathalie Bernier * Développeur web multiThématiques Centre Jean Monet Longlaville 54400 LONGWY http://multithematiques.c

[Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Hello, I am a little bit disappointed not getting any echo from my previous question, so I report it. Maybe my dtml is wrong for zope2, but I would appreciate to have some explanation from more experienced peoples. If I can not find a solution, we will have to keep our zope1 production server, an

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Chris Withers
You could try moving stuff to the new dtml style for starters: and the like. That might help, if not let us know.. cheers, Chris Gilles Lavaux wrote: > > Hello, > > I am a little bit disappointed not getting any echo from my previous > question, so I report it. > Maybe my dtml is wrong for

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread LEE, Kwan Soo
Not an answer, but a question. > > > ## > > > You seems to "call" PUBLIC_Doc, then why don't you just instead of the ? LEE Kwan Soo ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Hello Lee doesn't change anything, same error. (you are right, I can use the name directly , but I have some other piece of code where I have to use the _[_['']] construction, so it has to work...) But I found something: In my 'PUBLIC_Doc' document I display image with a tag, my problem disa

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Chris Withers
Gilles Lavaux wrote: > But I found something: In my 'PUBLIC_Doc' document I display image with a > tag, my problem disappear if I use > , someone can explain this?? Are you sure the space after the # isn't your problem? I would STRONGLY recommend moving your code to the new syntax, especially

[Zope-dev] Fwd: [Zope-PTK] Area based roles?

2000-07-04 Thread Monty Taylor
>> Original Message << On 7/4/00, 12:45:29 PM, Monty Taylor <[EMAIL PROTECTED]> wrote regarding [Zope-PTK] Area based roles?: > Hi all. I've got an idea of something I'm trying to implement, and I'm > wondering if the concept is of use to anyone else. > I've

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Argh!!! no, I made a typo error : it was .the syntax was good. Ok, I will use the new syntax in my new sites. But for my old site, I will not modify my ~500 dtml methods, except if there is a way to automate the change. Gilles -Original Message- From: Chris Withers <[EMAIL PROTECTED]> T

[Zope-dev] Re: [Zope-PTK] Roles, Groups, Security and Group Membership

2000-07-04 Thread Monty Taylor
>> Original Message << On 7/4/00, 1:22:04 PM, Chris Withers <[EMAIL PROTECTED]> wrote regarding [Zope-PTK] Roles, Groups, Security and Group Membership: > Monty Taylor wrote: > > Am I making any sense at all? Does anyone see either a need for doing > > this or

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Gilles Lavaux wrote: > > Argh!!! > > no, I made a typo error : it was .the syntax was good. > Ok, I will use the new syntax in my new sites. But for my old site, I will > not modify my ~500 dtml methods, except if there is a way to automate the > change. You can write a pretty simple external m

[Zope-dev] ZEO Replication/Cache

2000-07-04 Thread Monty Taylor
I just installed an instance of ZEO Storage Server with a client on the same machine and a client on a different machine. So far, it seems to work reasonably well, with one exception. None of the changes I've made on one client seem to propagate to the other client unless I restart the other c

[Zope-dev] Re: [Zope] site versions with zope

2000-07-04 Thread Diny van Gool
At 10:38 4-7-00 +0200, Nathalie Bernier wrote: >Hello, > >I'd like to modify a live site, instead of working on a mirror copy. Could >someone explain me, step by step, how sessions work? Hi, At http://www.zope.org/Documentation/Guides/ZCMG (Zope Content Manager's Guide) you'll find a section cal

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Dieter Maurer
Chris Withers writes: > I seem to remember Michel being a little less than happy when he saw > that code. > > Quite frankly, I still don't have much confidence in (Z)Catalog (still > no docs for all the cool stuff, dodgy bugs and few responses when > they're raised...) which is a shame sinc

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Steve Alexander wrote: > > Gilles Lavaux wrote: > > > > Argh!!! > > > > no, I made a typo error : it was .the syntax was good. > > Ok, I will use the new syntax in my new sites. But for my old site, I will > > not modify my ~500 dtml methods, except if there is a way to automate the > > change. >

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Steve Alexander wrote: > > > An external method for automated change from old syntax to new syntax > follows. > > * Use at your own risk > * No warranty implied or given > * Use on a copy of your main Zope site > * Back up data.fs three times before starting > * Not guarenteed not to spin

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: > I am very interested in ZCatalog. > > I promiss that I will look into it, when I come to 2.2. Thanks, Documentation of the cool stuff which is already there, and making it work 100% reliably are the two main things... cheers, Chris _

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Scott Parish
Thus spake Phillip J. Eby ([EMAIL PROTECTED]): > > That's all quite true, but it would probably be simplest to do such a thing > using AttributeProviders and SheetProviders in the white-box specialists. > It does seem reasonable to have those providers talk to an > AccountingProcessor object if y

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Phillip J. Eby
At 02:21 AM 7/5/00 +, Scott Parish wrote: > >Does anybody out there have even the slightest clue about how to go about >using AttributeProviders and SheetProviders? A select few terse hints on >this subject would really help us (me) figure it out enough to start working >on some howto's. You