Re: [Zope] Single html checkbox as list?

2000-09-25 Thread Jerome Alet
just do something like: input type="checkbox" name="yourname:list" good luck Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE On Mon, 25 Sep 2000

Re: [Zope] Use of the :records variable type and ZSQL methods

2000-09-25 Thread Rik Hoekstra
Error Type: Bad Request Error Value: ['Field1', 'Field2'] Here is the code I used and sqlTest is the ZSQL Method that just inserts the two fields into a test DB: dtml-in testlist dtml-call sqlTest /dtml-in What am I doing wrong? you'll have to feed a named argument to your Zsql

[Zope] Can't export only an ObjectManager

2000-09-25 Thread Chris Withers
Andy McKay wrote: How do I export a folder using the Import/Export tab with exporting all the subobjects? You do mean 'wihout', don't you? (Stupidest suggestion so far: delete all subjects, export, undelete) That's the only way I can think of... A patch that added a checkbox and a little

Re: [Zope] HTML Widgets, In-place editing in Zope

2000-09-25 Thread Chris Withers
Phill Hugo wrote: www.opencookie.org/widgets/index_html www.opencookie.org/widgets/index_html?editmode=1 Cool :-) widgets is an external method which will be on Zope.org next week if all goes well. Looking forward to it... cheers, Chris ___

[Zope] Error shouldn't be appended :-S

2000-09-25 Thread Chris Withers
Skip Montanaro wrote: Having only recently upgraded from Zope 2.0 to 2.2.1 I see that the default behavior for traceback reporting is still to embed them in an HTML comment (or display them when debugging). Yeah, and in production mode it sticks it after the end of your /html ...which

[Zope] Not Patch to let Authorized Exceptions use standard_error_message ;-)

2000-09-25 Thread Chris Withers
Andy McKay wrote: Well theres the thing, its not really a patch. I doesnt allow Authorized Exceptions to use standard_error_message, thats a whole different kettle of fish. /lib/python/ZPublishers/HTTPResponse.py line 482 to 523 contains HTML text for the error message. So you can

[Zope] How to apply arbitrary methods to objects?

2000-09-25 Thread seb
Hi, I'm trying to create an inline interface to manage_edit. If a user is authenticated, instead of seeing the default views of each snippet of content, they get a textarea with a submit button for each snippet. I'm still new to all this, so I'm not sure how I should be going about it: a

[Zope] Help: Zope2 all threads frozen...

2000-09-25 Thread Gilles Lavaux
Hello, I have zope2.2 with whats look like all thread frozen(on linux, using zserver). Netstat reports a lot of connections ESTABLISHED or CLOSE_WAIT to the zope port. Of course zope is not responding. Who to solve this (of course I can kill+restart), is it possible to set a connection timeout

[Zope] Guess Who . . .

2000-09-25 Thread Spicklemire, Jerry
. . . has a opening posted on their Web Site for a C/C++ programmer with Zope / Python experience? http://www-3.ibm.com/employment/us/empl/jofK23137.html Email Software Engineer (CA-K23137) Category: Software Location: CA Division: Other Divisions Work as a part of a small team

Re: [Zope] What options exist for dealing with tracebacks?

2000-09-25 Thread Skip Montanaro
John Although Didier Georgieff has given a thorough reply, I couldn't John resist a quick plug... ;-) John http://www.zope.org/Members/JohnC/StandardErrorMessage John which has info on using and customising error pages, including John e-mailing of errors. Thanks,

[Zope] Why no full Zope?

2000-09-25 Thread Chris Withers
Skip Montanaro wrote: Thanks, interesting, but in my case, probably not immediately useful. It slipped my mind when posting that I need to qualify all my zope posts with, "I'm not using full-blown Zope. I only use ZServer + DocumentTemplates." Still, knowing that there is some mechanism for

[Zope] ZWiki RecentChanges don't work in Zope 2.2.x

2000-09-25 Thread Chris Withers
...you get an authorization error :-( This is because this Wiki isn't (and shouldn't) be publicly viewable or editable. So, Anonymous doesn't have 'View' permission on the folder. I've given Anonymous 'Access Contents Information', the usual nasty hack I had to do before, but now that just

Re: [Zope] ZWiki RecentChanges don't work in Zope 2.2.x

2000-09-25 Thread Martijn Pieters
On Mon, Sep 25, 2000 at 04:14:03PM +0100, Chris Withers wrote: ...you get an authorization error :-( This is because this Wiki isn't (and shouldn't) be publicly viewable or editable. So, Anonymous doesn't have 'View' permission on the folder. I've given Anonymous 'Access Contents

Re: [Zope] ZWiki RecentChanges don't work in Zope 2.2.x

2000-09-25 Thread Simon Michael
what Martijn said (thanks Martijn). Another quick workaround mentioned on ZWikiProblems: you could remove the calls to getSize and similar attributes from your recentchanges page. Then Access Contents Information should be sufficient. -Simon ___

Re: [Zope] Set access rule

2000-09-25 Thread Martijn Pieters
On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes wrote: I did an upgrade last week, from zope 2.1.6 to 2.2.1, using Debian packages. Almost everything was correct, but site access no longer works. Zope 2.2 requires SiteAccess 2 to work. SiteAccess 1 will not

Re: [Zope] Nasty subtle security bug - Me Too

2000-09-25 Thread Brad Clements
On 25 Sep 2000, at 21:01, Martijn Faassen wrote: In Zope 2.2.2, the user cannot execute the external method E either. Instead, the calling DTML code raises a NameError, basically saying our external method does not exist. I'll also dump this description into the collector, but posted to the

[Zope] Nasty subtle security bug

2000-09-25 Thread Martijn Faassen
Hi there, I'm about to describe a very nasty bug that appears to exist in different guises in at least Zope 2.1.6 and Zope 2.2.2. The bug is nasty because it occurs under rather restricted circumstances, so nobody else noticed it yet, but it keeps biting _me_. The circumstances: * we have

Re: [Zope] Nasty subtle security bug - Me Too

2000-09-25 Thread Martijn Faassen
Brad Clements wrote: On 25 Sep 2000, at 21:01, Martijn Faassen wrote: In Zope 2.2.2, the user cannot execute the external method E either. Instead, the calling DTML code raises a NameError, basically saying our external method does not exist. I'll also dump this description into the

Re: [Zope] Authentication problem when accessing ZSQL method

2000-09-25 Thread César A. K. Grossmann
Dieter Maurer wrote: authenticate by my browser. I can't see anything in the security attributes for the SQL method which requires authentication, and I can 'test' the ZSQL method succesfully without requiring authentication. You must grant the "use database methods" to "Annonymous".

Re: [Zope] multiple ZOPE ...

2000-09-25 Thread Terry Kerr
We host zope using mutliple installations of zope. It is better this way because then the clients can control which products they have installed, they can tweak their products without bothering anyone else, they can stop and restart zope whenever they please...the basically have full control.

Re: [Zope] Cookie pointer.

2000-09-25 Thread Cesar A. K. Grossmann
TMGB wrote: Since cookies have been brought up, I tried the following code (Using Steve's example): I cannot use this code in a GUF/docLogin. I get the error: "Unauthorized You are not authorized to access ZopeTime. " What can I do to this code works? []s -- César A. K. Grossmann [EMAIL

RE: [Zope] Cookie pointer.

2000-09-25 Thread Steve Drees
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cesar A. K. Grossmann Sent: Monday, September 25, 2000 5:06 PM To: TMGB Cc: Zope@Zope. Org Subject: Re: [Zope] Cookie pointer. TMGB wrote: Since cookies have been brought up, I tried the

Re: [Zope] displaying based on date

2000-09-25 Thread Marco Mariani
On Mon, Sep 25, 2000 at 05:00:47PM -0500, Timothy Wilson wrote: I've created a ZClass and I'm using an HTML table to display certain properties of the class. One of the properties is a date, and I want to display in the table only those instances of the ZClass for which this certain date

Re: [Zope] Cookie pointer.

2000-09-25 Thread Cesar A. K. Grossmann
Steve Drees wrote: What can I do to this code works? Can you cut and paste the offending code? Exactly the same of the message of Thomas: dtml-if expr="RESPONSE.setCookie('name', 'value', path='/', expires=(ZopeTime() + (1.0/102.0))" "You have cookies enabled" dtml-else "Your

[Zope] How to automatically document a Zope site?

2000-09-25 Thread Brad Clements
I'm looking for a product, how-to or suggestions on how to document a zope site. Basically I just want to walk the tree of objects and output a nicely formatted series of pages that list the object, type, title, modification time, etc.. Anyone got something ready made? Brad Clements,

Re: [Zope] How to automatically document a Zope site?

2000-09-25 Thread Chris McDonough
No, although if you take a look at the way SQL Methods generate the dropdown "connection list", you'll get a good understanding of how to walk a tree of objectmanagers... Brad Clements wrote: I'm looking for a product, how-to or suggestions on how to document a zope site. Basically I just

[Zope] RedHat site mentions Zope

2000-09-25 Thread Stephan Richter
Hello everyone, I just saw on www.redhat.com the following: Features for the developer: ... "Popular web application development tools like PHP and Zope" Link: http://www.redhat.com/products/software/linux/rhl7_standard.html Wow, pretty cool. It is only a five bullet list! I guess Zope is

[Zope] cannot run without -D on win2000 ?

2000-09-25 Thread Gijs Reulen
Hi I tried to run Zope without the -D option but it will hang after the initial: C:\Program Files\Zope_220\bin\python.exe" "C:\Program Files\Zope_220\z2.py I tried both the 2.1.6 and 2.2.0 versions. Does anybody else have this same problem ? With the -D option Zope runs ok, but I would like to

Re: [Zope] How to automatically document a Zope site?

2000-09-25 Thread Brad Clements
Here's what I just whipped up in 5 minutes.. should think before posting I guess. Create Method /Document dtml-var standard_html_header dtml-var "DocumentRecurse(_.None,_,parent=Strader,indent=0)" dtml-var standard_html_footer Strader is the top Folder I want to document Then Create Method

Re: [Zope] cannot run without -D on win2000 ?

2000-09-25 Thread Phil Harris
Gijs, I'm running Zope 2.2.2 on Windows 2000 Advanced Server at home wih -D with no problems. Here's the registry entry for it: "D:\zope221\bin\python.exe" "D:\zope221\z2.py" -S hth Phil [EMAIL PROTECTED] - Original Message - From: "Gijs Reulen" [EMAIL PROTECTED] To: "Mailinglist

[Zope] Favorites

2000-09-25 Thread rishi
Hi guys I've got a reply that my explaination was not good, let me try again; I have a website running on zope with apache. The users of my site can store memo's and bookmarks there. The following tihng is going on; they are uploading the bookmark file manualy, by exporting from IE or NS.

[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,

[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

[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)

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? What

[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 tests. Do you really

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] 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) This provides

[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 -

[Zope-dev] Suggestion for better Zope error response

2000-09-25 Thread Skip Montanaro
Suppose you have a simple form like: html form action="http://www.musi-cal.com/search" method="post" City: input name="performers" type="text" Radius: input name="radius:int" type="text" input type="submit" name="submit" value="Search" /form /html and the user

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, but

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... I