Re: [Zope-dev] How is 'retrieveItem intended to work with TTW Specialists?

2000-09-25 Thread Phillip J. Eby
At 08:00 AM 9/25/00 -0500, Steve Spicklemire wrote: > >So my retrieve item gets called. *unfortunately* it gets >called without any namespace parameter... so my retrieveItem >DTML method has no way to acquire a namespace so that it can >delagate to something else! > >So... here is what I did.

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-25 Thread Rik Hoekstra
> Do you feel that weblogs are bad models for debates? I think they're > pretty good least-common-denominators. I would probably prefer the > kind of annotation-based thing i described in my last message (and > began to sketch in the WikiNG proposal) for collaborative generation > of documents,

Re: [Zope-dev] questions on ZPatterns plugin code

2000-09-25 Thread Phillip J. Eby
At 12:07 PM 9/25/00 -0400, Andrew Wilcox wrote: > >The PlugInBase.manage_afterAdd() and manage_beforeDelete() methods >dynamically checks if their container has the _addPlugIn() and >_removePlugIn() methods before calling them. Could this code be >simplified by requiring containers support an add

[Zope-dev] Suggestion for better Zope error response

2000-09-25 Thread Skip Montanaro
Suppose you have a simple form like: http://www.musi-cal.com/search" method="post"> City: Radius: and the user submits the form with an invalid input for the radius. Assuming ZServer was not run with -D, other than the standard boilerplate, all the user sees is

[Zope-dev] trapping undo

2000-09-25 Thread Robin Becker
Is there any way in python to trap the undo event on a document? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.o

[Zope-dev] Testing Zope applications (was Re: [Zope-ZEO] Advice)

2000-09-25 Thread Jim Fulton
Note that this conversation hasn't had anything to do with ZEO for some time, so I'm moving it over to zope-dev. Toby Dickenson wrote: > (snip) > >I think it is really much easier to use ZPublisher/Test > >(which is also available as Zope.debug: > > > > import Zope > > Zope.debug(url) > > >

[Zope-dev] ZPatterns bug: wrong version.txt

2000-09-25 Thread Steve Alexander
ZPatterns ZPatterns-0-4-2a3 version.txt still reads as ZPatterns-0-4-2a2 -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cro

Re: [Zope-dev] RE: [Zope-ZEO] Advice

2000-09-25 Thread Chris McDonough
(I took the ZEO mail list out of the loop)... > [Agreed. Ill CC zope-dev and I suggest we continue there.] > > Sorry, I phrased my question ambiguously. > > I meant, do you think a TTW development approach is viable for applications > with a non-trivial amount of logic? Perhaps not. Not yet

[Zope-dev] RE: [Zope-ZEO] Advice

2000-09-25 Thread Toby Dickenson
> > >But there are > > >really > > >two ways to do this, either of which is viable. > > > > 1. the right way ;-) > > > > >2. Code all of your logic using TTW stuff and Zope > components. Use the > > >Publisher.Test.test method to call methods of your > Zope components > > >in unit tes

[Zope-dev] questions on ZPatterns plugin code

2000-09-25 Thread Andrew Wilcox
I've started browsing the ZPatterns code, and here are the questions that came up for me while reading PlugsIns.py... Is zope-dev a good place for this? Would somewhere in the ZPatterns wiki be better? The PlugInBase.manage_afterAdd() and manage_beforeDelete() methods dynamically checks if their

Re: [Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Zope mailing lists
On Mon, 25 Sep 2000, Sin Hang Kin wrote: > I generate the search interface, and test it. However, the search of the > index terms return nothings. I search most entries found in the vocubalury > but none works, those work will return many unwanted results also. > > What is causing this failure? W

[Zope-dev] Favorites

2000-09-25 Thread rishi
Hi guys i've got a small prob. I have the ImportExportFavorites util from microsoft. If that util post the bookmarks of an user then it sends with http_user_agent "FAVORITES" and file name "img.fav" Is there a way that zope get this file so I can save it in the ZODB. The source for sending

[Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Sin Hang Kin
HI, I have a project which need search with Chinese. I think I can make Zcatalog to search Chinese in utf8. So I change Voodoo Kludge Splitter.py to convert the input string to unicode (assume it is utf8) and make a version of split of my own (see the attached splitter.py). I borrow (stolen) from

[Zope-dev] Re: Broadtree Catalog?

2000-09-25 Thread Chris McDonough
No, sorry... hopefully within the next month. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: "Andy McKay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 25, 2000 6:08 AM Subject: Broadtree Catalog? > Chris

[Zope-dev] How is 'retrieveItem intended to work with TTW Specialists?

2000-09-25 Thread Steve Spicklemire
Hello ZPatterns Folk. I'm trying to implement 'delagation' with a custom Specialist. The idea, (I think this is one of the goals of ZPatterns... to allow delegation of responsibility after the Framework is built...) I have: a) MarketItemManager (Python subclass of Specialist) Some of meth

[Zope-dev] Broadtree Catalog?

2000-09-25 Thread Chris Withers
Chris McDonough wrote: > changed on the write. This will be solved by updates to the catalog > which use a new "broadtree" BTree implementation. Any idea when this will land? We'ev had to give up on the Catalog for the mailing list archives and go with MySQL's full text indexing :-( cheers, C