Re: [Zope-dev] more __call__ ...

2000-09-27 Thread Chris Withers
Jim Fulton wrote: http://a.site/folder/object/myobject myobject contains dtml-var standard_html_header standard_html_header contains dtml-var mynavigator Is myobject a DTMLMethod? Some kind of container? Sorry... a good example for myobject would be a DTML Document. I don't see how

[Zope-dev] bouncing e-mail

2000-09-27 Thread Tom Deprez
Hi, Has somebody noticed some problems with my e-mail? It looks like my account was turned of at zope-dev. Since I didn't do it, it must be an automatic thing. So my q'n had someone of you problems with my e-mail? Tom. ___ Zope-Dev maillist -

Re: [Zope-dev] Soft links again

2000-09-27 Thread Toby Dickenson
On Wed, 27 Sep 2000 09:06:18 -0400, Shane Hathaway [EMAIL PROTECTED] wrote: Also, there's currently a buglet in acquisition that makes it so that you can only perform the actions on the symlink which "anonymous" is allowed to do. Woooh! Someone else that agrees this is a bug in

Re: [Zope-dev] Soft links again

2000-09-27 Thread Shane Hathaway
Toby Dickenson wrote: On Wed, 27 Sep 2000 09:06:18 -0400, Shane Hathaway [EMAIL PROTECTED] wrote: Also, there's currently a buglet in acquisition that makes it so that you can only perform the actions on the symlink which "anonymous" is allowed to do. Woooh! Someone else that

[Zope-dev] structure text

2000-09-27 Thread nw_moriarty us
I asked, some time ago, why the StructuredText.py did not work with the example provided in the triple quotes but my email has been patchy. Did anybody reply as to why the :: does not work all the time? Nigel --== Sent via

[Zope-dev] ZCatalog with UTF-8 Chinese

2000-09-27 Thread Sin Hang Kin
Dear Developer: Trying to short-cut UNTEXTINDEX to handle UTF-8 Chinese, I need some help. After reading some code of query, I think the regular expression operations which in parse, quotes and parse2 were not safe for utf8 string. So, I decide to emulate what they do. However, I do not

Re: [Zope] secure management with Site Access?

2000-09-27 Thread Rob Miller
David Elkins writes: Have you tried setting up something like zope.domain.com with the https SiteRoot and Apache pointing directly at manage? Pointing a virtual host directly at manage I can do, but where do I put the SiteRoot? If I put an https SiteRoot in a directory, then plain ol'

Re: [Zope] WorldPilot has the bits...

2000-09-27 Thread Alastair Burt
John Chandler [EMAIL PROTECTED] writes: Any ideas how the sync would be done? WorldPilot has the ability to do this, allegedly. WorldPilot's Palm side of things was still broken last I checked (last week, IIRC) - it was complaining of login errors, though you could login happily

Re: [Zope] PyGreSQLDA

2000-09-27 Thread Kapil Thangavelu
"Bak @ kedai" wrote: ZPYGre is not threadsafe, so with it and all non-threadsafe da's zope uses a lock around access. (Thunked.py) The solution is to just use multiple DA connections and let postgres sort out the concurrency issues. i'm not clear about "use multiple DA

Re: [Zope] Version Control in Zope / Managing releases

2000-09-27 Thread Marcin Kasperski
Nils Kassube wrote: The thread at the ZEO list is indeed very interesting. I wanted to write something like this: http://lists.zope.org/pipermail/zope-zeo/2000-September/000131.html Nice to see someone else having the same thoughts. I strongly commit the thoughts described in the

Re: [Zope] secure management with Site Access?

2000-09-27 Thread Frank Tegtmeyer
with the SiteRoot will be either 'http' or 'https', but I'm looking for some solution that will allow either, depending on the previous REQUEST. I It has not to depend on the last request, it has to depend on the actual request. Actually there are some examples in the SiteRoot documentation

Re: [Zope] WorldPilot has the bits...

2000-09-27 Thread John Chandler
WorldPilot's Palm side of things was still broken last I checked (last week, IIRC) - it was complaining of login errors, though you could login happily through other means. Get the freshest version of the software you can as it might be fixed now. The CVS version works better. I

[Zope] Adding ZClass to a folder

2000-09-27 Thread brocken22
Hallo, that's a dumb question. How do you add a ZCLass to a subfolder. That's my try: - dtml- with "SubFolderName.manage_addProduct['MetaTypeName']" dtml-call "ZClass_add(_.None, _, NoRedir=1)" /dtml-with -- Sent through GMX FreeMail - http://www.gmx.net

Re: [Zope] Restricting URL access to certain objects

2000-09-27 Thread Chris Withers
Steve Alexander wrote: If you want this to be fairly transparent, perhaps based on a particular permission or property, then I think you'll need to patch part of Zope, probably HTTPRequest.py. This is the basis of what my proposal on dev.zope.org was about. This could then be extended so you

Re: [Zope] Version Control in Zope / Managing releases

2000-09-27 Thread Chris Withers
Marcin Kasperski wrote: It seems to me that it would be easier to implement complete version-control mechanisms within Zope (there is Undo, there are versions, there is export/import) than to build better integration with external VC tools, but this is just an opinion. I think that's right,

[Zope] Apache + Zserver + SiteAccess + Search results from the catalog

2000-09-27 Thread neeloy_saha
Hi all, The href generated for my search results is not resulting in right Links as a result I am getting the 404 error. ** I have followed the "HOW-TO : Using Apache with Zserver(Not Zope.cgi)" and implemented a complete virtual host:(second example) VirtualHost 192.168.81.132:80 #

Re: [Zope] Version Control in Zope / Managing releases

2000-09-27 Thread Marcin Kasperski
That's not to say that Greg's difficulties are unique. I just don't think his solution is appropriate for most. Synchronization is a major need for Zope. In fact, I have some working code! But *I need feedback*. http://dev.zope.org/Wikis/DevSite/Proposals/SynchronizationTab The

[Zope] Displaying all subobjects

2000-09-27 Thread brocken22
The second dumb question today:It's a horrible one How to iterate over all subfolders? "objectValues" shows only the same level, where the method resides. Thanks. -- Sent through GMX FreeMail - http://www.gmx.net ___ Zope maillist - [EMAIL

[Zope] Nested properties???

2000-09-27 Thread Lars Heber
Hello, I urgently need to nest properties without creating methods. My task is to create a number of public properties, which other users shall use as values in their properties. For example I'd like to create a public property enterpriseName with the value "myEnterprise", and the users shall

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Phil Harris
How about, Woah there boy! This is completely untested and untried in any way, caveat emptor!! create an dtml-method called iterate: with this contents: dtml-in "objectItems()" dtml-if "meta_type == 'Folder'" dtml-call "id['iterate']" /dtml-if dtml-var idbr/

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Phil Harris
Actually, This would probably work a bit better (since the last one doesn't work at all 9¬) ) dtml-in "objectItems()" dtml-if "meta_type=='Folder'" dtml-call "restrictedTraverse(_['id']+'/iterate')(_.None,_)" /dtml-if dtml-var idbr /dtml-in - Original Message - From: [EMAIL

Re: [Zope] Zope Dies with FastCGI

2000-09-27 Thread John Hayward-Warburton (Programming account)
"Ronald L. Roeber" wrote: Zope 2.2.2 (same happened with 2.2.0 and 2.2.1) RedHat Linux 6.2 Apache 1.3.12 - with fastcgi/2.2.8 and OpenSSL/0.95a "ZServer uncaptured python exception, closing channel FCGIChannel connected 127.0.0.1:2198 at 87195b (socket.error:(32, 'Broken pipe')

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Chris Withers
Phil Harris wrote: dtml-in "objectItems()" dtml-if "meta_type=='Folder'" dtml-call "restrictedTraverse(_['id']+'/iterate')(_.None,_)" /dtml-if dtml-var idbr /dtml-in How about this untested: dtml-in "objectItems()" dtml-if "meta_type=='Folder'" dtml-with sequence-item

[Zope] sorry I forgot subject

2000-09-27 Thread Luciano Caroti
Excuse me!! In my previous post I forgot subject. Luciano.:)) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] (no subject)

2000-09-27 Thread Luciano Caroti
Hi, I would like to build a repository for dowloading software in Zope. The user need to register and then I send him an URL inside email to access for downloading file, but: How can I automate the process of authentication and selective downloading, is there an example or have you any website

Re: [Zope] Yes it did! :-S

2000-09-27 Thread Chris Withers
Chris Withers wrote: With the new security policy in Zope 2.2, this is no longer necessary, and you can comment out the restriction. Just remove or comment out the 'validate' method in the file Products/ZWiki/ZWikiPage.py and restart your Zope server. This is Zope 2.2.1 adn I did. Same

Re: [Zope] removing validate() didn't help :-(

2000-09-27 Thread Chris Withers
Martijn Pieters wrote: I have seen the same problem; the getSize method isn't accessible to RecentChanges, even though the Authenticated User has the View permission. Yup, that's the one... With the new security policy in Zope 2.2, this is no longer necessary, and you can comment out the

[Zope] URL problem

2000-09-27 Thread Marc Breitenreicher
Hi, I've got a little problem with thr URL returned by a catalog. The catalog returns, for example, the URL /a/b/c/text.html But the link shall go to the URL /a/b/c How can I manage this? I use ZCatalog with ZSearch and get the URL with dtml-var "getpath(data_record_id_)" Thanks for help

Re: [Zope] Bug or feature? :-)

2000-09-27 Thread Toby Dickenson
On Tue, 26 Sep 2000 14:30:56 -0400 (EDT), Jeff Hoffman [EMAIL PROTECTED] wrote: Hello, Zopers. Try this: Create a DTML Method in Zope. Give it an id of 'target', and give it the following body: Woohoo! Now manage the folder that it is contained in. Instant tab augmentation! :-) Theres

[Zope] Tesh sues Vignette (fwd)

2000-09-27 Thread Jean Jordaan
Go Zope? -Original Message- From: Justin Mason [mailto:[EMAIL PROTECTED]] Sent: 27 September 2000 02:07 To: [EMAIL PROTECTED] Subject: [IRR] [cms-list] Tesh sues Vignette (fwd) --- Forwarded Message Date:Wed, 27 Sep 2000 11:17:37 +1100 From:David Walker [EMAIL PROTECTED]

[Zope] Re: [Zope-PTK] Apache + Zserver + SiteAccess + Search results from thecatalogcatalog

2000-09-27 Thread Tres Seaver
neeloy_saha wrote: Hi all, The href generated for my search results is not resulting in right Links as a result I am getting the 404 error. ** I have followed the "HOW-TO : Using Apache with Zserver(Not Zope.cgi)" and implemented a complete virtual host:(second example)

[Zope] Apology to Ethan [was: HowTo categorization]

2000-09-27 Thread Tim Cook
When I volunteered to categorize the How-To's I told Ethan I could do it in two weeks. Well, the good thing is that I came up with more work to do. The bad thing is it's been three weeks and I'm still only half (or a little more) finished. But, Coming Soon! g Tim Cook wrote: Two, definitely

Re: [Zope] Nested properties???

2000-09-27 Thread Tim Cook
Lars Heber wrote: For example I'd like to create a public property enterpriseName with the value "myEnterprise", and the users shall take this property when they create the new property division with the value "myDivision in myEnterprise", something like "myDivision in dtml-enterpriseName;".

Re: [Zope] Adding ZClass to a folder

2000-09-27 Thread Tim Cook
[EMAIL PROTECTED] wrote: How do you add a ZCLass to a subfolder. That's my try: - dtml- with "SubFolderName.manage_addProduct['MetaTypeName']" dtml-call "ZClass_add(_.None, _, NoRedir=1)" /dtml-with -- Close. Try this. dtml-with SubFolder dtml- with

Re: [Zope] Displaying all subobjects

2000-09-27 Thread brocken22
Hallo Chris, thanks for the quick reply, but the method is displaying all the objects in the folder and I'd like to get only one metatype of objects(i.e.ZClass-cars)but for all levels. -- Sent through GMX FreeMail - http://www.gmx.net ___ Zope

[Zope] BTreeFolder (easy?) questions

2000-09-27 Thread Dennis Nichols
1. Can I blithely use BTreeFolder in place of Folder without loss of functionality? 2. Can I successfully inherit from BTreeFolder in ZClasses (assuming that I uncomment registerBaseClass, which has been commented out in all BTreeFolder versions so far)? -- Dennis Nichols [EMAIL PROTECTED]

[Zope] Calling objects with arguments in a sequence

2000-09-27 Thread seb
Hi I'm using the Photo product, instances of which I can call, with arguments, like this: dtml-var "my_photo(display='thumbnail')" However, I can't work out how to pass arguments to each sequence item when iterating over a sequence. For example, I've tried: dtml-in

[Zope] Yihaw authorisation pbs

2000-09-27 Thread Didier Georgieff
Hello Soren, It's me again (sorry to bother you so often). 1 - You report a pb in upload Yihaw Files on 2.2.0 but i have a similar problem under 2.1.6 (fresh install from source) with *both* FAQ and files. Other classes works fine. I have a Yihaw user has Access content, Add Yihaw Objects,

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Jeff Hoffman
On Wed, 27 Sep 2000 [EMAIL PROTECTED] wrote: Hallo Chris, thanks for the quick reply, but the method is displaying all the objects in the folder and I'd like to get only one metatype of objects(i.e.ZClass-cars)but for all levels. Try creating a DTML Method called 'iterate' (tested): ul

[Zope] Where the ZODB resides?

2000-09-27 Thread Ryan Booz
Thank you for the help yesterday some of you gave me with regards to the Zope DB and how files are stored and such. I obviously have A LOT of reading to do. But I'm excited about it. The only other question I have before diving in to the point of no return, is where Zope can be installed.

[Zope] Baseclass:Folder or ObjectManager

2000-09-27 Thread brocken22
Hallo, my ZClass has as base-class Objectmanager and not Folder. When I try to add(let's call it PastaClass)programmatically PastaClass to an instance of Pastaclass I get a mistake.Adding it with the management-interface everythings o.k.Why?? Do I have to subclass folder?? Thanks. -- Sent

Re: [Zope] Baseclass:Folder or ObjectManager

2000-09-27 Thread brocken22
This is the traceback I get: When I add the zclass to a normal folder(even with the script)everything is fine.?? Error Type: AttributeError Error Value: seek Traceback (innermost last): File C:\Zop\lib\python\ZPublisher\Publish.py, line 222, in publish_module File

Re: [Zope] Set access rule

2000-09-27 Thread Mario Olimpio de Menezes
On Tue, 26 Sep 2000, Martijn Pieters wrote: Looking over your mail again, it seems that there is already an AccessRule registered, but it is of the wrong type. You can't remove it with the Add interface, because that triggers the error. how could it happens? I did a fresh install of zope

[Zope] webdav security

2000-09-27 Thread Júlio Dinis Silva
Hello all! Lets say that anyone can do "cadaver www.myhost.com" and after that a "ls" listing my content. I know the user will see the objects processed, but just the fact that he can see my structure is bad for security. How do I disable the webdav access, if possible? Best Regards, Júlio

[Zope] Icons?

2000-09-27 Thread César A. K. Grossmann
Hi Where I can find some icons with the correct size to be used in Zope? All the icons I can find have the size of 32x32 or something like it... TIA -- +-+-+ | César A. K. Grossmann | Capacitação Solidária |

Re: [Zope] Calling objects with arguments in a sequence

2000-09-27 Thread Tres Seaver
seb [EMAIL PROTECTED] wrote: I'm using the Photo product, instances of which I can call, with arguments, like this: dtml-var "my_photo(display='thumbnail')" However, I can't work out how to pass arguments to each sequence item when iterating over a sequence. For example,

[Zope] Help

2000-09-27 Thread Michael A Ricciardi
Heya, I'm a zope newbie. What I need to do if possible is reference a signed jar class file from one page. How do I import the class jar file so the page can access it? Or where can I find some info on the subject. Thanks Michael ___ Zope

[Zope] Fwd: Re: [Zope] Why do session vars suddenly disappear?

2000-09-27 Thread Joachim Werner
Hello! Maybe it's because I don't understand the Zope mechanisms completely yet, I think so ;-) but I sometimes have a hard time preserving some variable state between one and the other web page. This is not possible without additional measures. How should Zope know that you have

Re: [Zope] BTreeFolder (easy?) questions

2000-09-27 Thread Kapil Thangavelu
Dennis Nichols wrote: 1. Can I blithely use BTreeFolder in place of Folder without loss of functionality? afaik, yes. btreefolders subclass from folders and reimplement the setOb, getOb methods of a folder and the __getattr__ method, ie they have the same external interface. 2. Can I

[Zope] Add ZClass with other than Manager

2000-09-27 Thread Hendrik Naumann
Hi Zope Users and Developers If created a ZClass with I want to Add also with an other user than Manager. Let's say Owner. I tried a lot ... I gave (for testing reasons) Owner the same rights as Manager (in this special folder). I set the Foo_addForm und Foo_add methods to proxy Manager. I