Re: [Zope] Add ZClass with other than Manager

2000-09-28 Thread Tim Cook
Hendrik Naumann wrote: I there the posibility to Add an ZClass without writing an new Add_formular like in http://www.zope.org/Members/mukhsein/job_board_howto ? Yes. With this minor modification: http://www.zope.org/Members/taz/addZClasses -- Tim Cook -- Cook Information Systems |

[Zope] Adding user to folder

2000-09-28 Thread Scott Burton
I would like to add a user to a folder that is being created via a form processing method with dtml-call "manage_addFolder(folderName,folderName,'createAUserFolder','createAPublicIn terface')" Now, since this folder does not exist yet except in the context of the script. How can I put a user in

Re: [Zope] Using GUF (generic user folder) under 2.2.x?

2000-09-28 Thread Stuart Bishop
On Sat, 16 Sep 2000, Danny William Adair wrote: I've experienced the same problem with GUF (which is why I am desperately waiting for the LoginManager HOWTO). Everything looks fine first, but the login screen will keep reappearing. Which part of the walkthrough could be out of date, the

Re: [Zope] Adding user to folder

2000-09-28 Thread Phil Harris
Scott, Try something like (UNTESTED): dtml-with "_[folderName]" dtml-call "manage_users()" /dtml-with hth Phil [EMAIL PROTECTED] - Original Message - From: "Scott Burton" [EMAIL PROTECTED] To: "Zope List" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 7:12 AM Subject:

Re: [Zope] Zope Dies with FastCGI

2000-09-28 Thread Bak @ kedai
On Wed, 27 Sep 2000, Ronald L. Roeber wrote: I have the following set-up under which Zope occasionally dies. 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 what about apache error log? anything there?

Re: [Zope] Medusa from www.zope.org down ??

2000-09-28 Thread Chris McDonough
None yet. It's 6:30 am where the responsible parties are. As soon as they get up/in, it'll get fixed ASAP. - Original Message - From: "Francois-Regis CHALAOUX" [EMAIL PROTECTED] To: "Receipt Notification Requested" [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 6:30 AM Subject:

Re: [Zope] sequence-item is a String? (was: Calling objects with arguments in asequence)sequence)

2000-09-28 Thread Chris McDonough
If you do: dtml-in "objectValues('Foo Thing')" dtml-let thing=sequence-item dtml-var "thing.id()" /dtml-let /dtml-in You get TypeError: it claims thing is a string, so you can't perform any kind of function call against it. Some id attributes of Zope objects are methods, some are

Re: [Zope] sequence-item is called in dtml-let assignment?

2000-09-28 Thread Chris Withers
seb wrote: If you do: dtml-in "objectValues('Foo Thing')" dtml-let thing=sequence-item dtml-var "thing.id()" /dtml-let /dtml-in You get TypeError: it claims thing is a string, so you can't perform any kind of function call against it. Welcome to

RE: [Zope] Selection Property

2000-09-28 Thread Roch'e Compaan
You need to set up the "bandlist" method as the Value when adding the selection property, then make shure that the "bandlist" method is available from where you use the property sheet. Been there, done that, still no luck :) But in the dtml source for properties it says

[Zope] IEMethod and Owner permissions

2000-09-28 Thread Peter Bengtsson
Hello I'm using the IEMethod product installed on Zope 2.1.6 In a folder object's security tab, I have set Owner to be allowed to change IEMethod, but an ACL User in that folder (being Owner) can't. When logged in as this Owner user, I can't change (File) my changes in the IEMethod. Any

Re: [Zope] DTML entity syntax: was Nested properties (addition)

2000-09-28 Thread Wolfgang Strobl
On 27 Sep 2000, 12:46 Lars Heber wrote: I forgot something: By the way: Is it possible to insert special characters in properties, like auml;? I meant, that properties with special characters in it are not displayed correctly, when called with the shortened syntax dtml-VARNAME;.

Re: [Zope] Reading/Parsing HTML Files from another server

2000-09-28 Thread Wolfgang Strobl
On 28 Sep 2000, 16:01 Dicken, Peer wrote: I want to include a HTML file from another server (e.g. www.foo.com/include.html ) into the output of one of my DTML methods (index_html). See http://www.zope.org/Members/lstaffor/ZClientMethod "Using ZClient to Access Another Server" -- o

Re: [Zope] dtml-in sorting problem

2000-09-28 Thread Tim Cook
Michael Bernstein wrote: Hello all, Here's my problem: I want to sort a list of objects on a property that not all items have. So I'm doing this: dtml-in sort=someProperty,someOtherProperty The problem is that those items that have a blank someProperty are listed first, when I want

[Zope] email lists

2000-09-28 Thread Terry Kerr
Hi, Has anyone had any experience with storing a large list (several thousand) of email addresses in an object then sending an email to every one in the list through a MailHost? Will I need to send on email to all these addresses (multiple recipients), or one email for each person on the list.

[Zope] Deleting data using ZSQL

2000-09-28 Thread technews
Hi, I am writing a dtml method that deletes data from a database, and I found myself unable to do this. It seems that ZSQL is used to insert, update and query a database. but can not use "delete from table where var=dtml-var foo" I am surprised at this behaviour. Am I doing somehting worng?

[Zope] How to change Unauthorized error message?

2000-09-28 Thread jensebaer
Hi all, Iwant to give out another error message(not the standard error message) when logging was without success. Zope Error Zope has encountered an error while publishing this resource. UnauthorizedYou are not authorized to access this resource.

Re: [Zope] Zopebot

2000-09-28 Thread Bill Anderson
Shane Hathaway wrote: ... I wonder if there's any way to count Zope sites. Sometimes you might find a nice surprise, such as: http://www.cbsnewyork.com/manage_copyright !!! That's cool! -- E PLURIBUS LINUX ___ Zope maillist - [EMAIL

Re: [Zope] email lists

2000-09-28 Thread Shane Hathaway
Terry Kerr wrote: Has anyone had any experience with storing a large list (several thousand) of email addresses in an object then sending an email to every one in the list through a MailHost? Will I need to send on email to all these addresses (multiple recipients), or one email for each

[Zope] Suggestion: Zope.org, products and testing...

2000-09-28 Thread Alexander Schonfeld
On the zope.org site, how about adding a property for products: "tested versions of Zope". That way we could know, without doing all the testing ourselves, whether or not a product was useable. Thanks, Alex. 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k

Re: [Zope] Zope Dies with FastCGI

2000-09-28 Thread Bak @ kedai
On Fri, 29 Sep 2000, [EMAIL PROTECTED] wrote: Two types of messages: First in its death throws: [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm with server "apache_server_path/htdocs/zope" aborted: idle timeout (30 sec) And later when its all over: [Thu

[Zope-dev] ZModules - A loaded gun

2000-09-28 Thread Kapil Thangavelu
i wrote up an interface to allow for module registration in the dtml namespace, _ its got major caveats, but it might be useful for some. at the moments its just a stop gap till the new python methods come along. at the moment if just allows for people to write more code in dtml:( or ttw python

Re: [Zope-dev] MySQL : help !

2000-09-28 Thread Monty Taylor
I can send you one, but if building it is giving you lots of problems, you may have larger problems, and the _mysql I send may not really help. Building should be sort-of straight forward. What version of ZMysqlDA are you using? What version of Mysql? What errors are you getting? [EMAIL

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

2000-09-28 Thread Chris Withers
Toby Dickenson wrote: How about running the 'Discussion' parts of (in particular) dev.zope.org from ZDiscussions, ZUBB or Squishdot? This may be a good idea... What's wrong with a mailing list? Is this just a case of NIH? Setting up a mailing list for each proposal is painful. Setting

Re: [Zope-dev] Email the changes

2000-09-28 Thread Chris Withers
Toby Dickenson wrote: The ability to subscribe for notification (above) and/or to track what you personally have seen, and not, is intended for this kind of thing. It would keep me happy if the notification includes a link to the new content (rather than a link to the page that contains

Re: [Zope-dev] mailing list 'noise'

2000-09-28 Thread Chris Withers
Toby Dickenson wrote: I dont see this as a problem: You only create a new list when the traffic for that proposal gets too great for zope-dev. Threading is good enough before that point. Yes, but zope-dev has a relatively high traffic load... Why should you have to put up with all that

Re: [Zope-dev] XHTML Templates comments from the peanut gallery

2000-09-28 Thread Chris Withers
(sorry I'm so late on this, things have been hectic :-( ) Paul Everitt wrote: o Allow those presentation tools to work by having well-formed markup (e.g. no separation into header and footer) Hmmm... I wonder how refactoring, which _header and _footer were really useful for, will

[Zope-dev] A few Questions

2000-09-28 Thread Keith Larson
Title: A few Questions Hello I just joined so sorry if you have answered these before or if it the right place to ask but : I have a 4 new sites in Zope that is mirrored on two servers and load balanced. A third server is for qa and editing in Zope. Now , is there a way to have a python

Re: [Zope-dev] WikiDot

2000-09-28 Thread Ken Manheimer
On Thu, 28 Sep 2000, Chris Withers wrote: 4.Some people think Wiki discussions are easily dispersed. Bad Wiki discussions are, but discussion products are almost always dispersed by nature. On many occasions I have (already) seen people summarize and structure maillist discussions into a

Re: [Zope-dev] mailing list 'noise'

2000-09-28 Thread Ken Manheimer
On Thu, 28 Sep 2000, Chris Withers wrote: Toby Dickenson wrote: I dont see this as a problem: You only create a new list when the traffic for that proposal gets too great for zope-dev. Threading is good enough before that point. Yes, but zope-dev has a relatively high traffic load...

[Zope-dev] Namespace trouble

2000-09-28 Thread Martin Grönemeyer
Hello everyone, if've had little namespace problems with this code-snipped (dtml-method): dtml-with REQUEST dtml-in "[1,2,3,4,5,6,7,8]" dtml-call "REQUEST.set('row_index',_['sequence-index'])" dtml-var "REQUEST.get('row_index')" dtml-var row_index /dtml-in /dtml-with This produces an

[Zope-dev] 'REQUEST' lost on DTML rendering

2000-09-28 Thread Kent Polk
I have a Product which works fine under Zope 2.1.6 but am having trouble moving it to 2.2.1 This product creates temporary instances of objects and then uses __bobo_traverse__ to traverse class operators specified in the URL which create the objects that are rendered via DTML methods. The very

[Zope-dev] XHTML Templates comments from the peanut gallery

2000-09-28 Thread Spicklemire, Jerry
Paul Everitt wrote: o Allow those presentation tools to work by having well-formed markup (e.g. no separation into header and footer) to which Chris Withers replied: Hmmm... I wonder how refactoring, which _header and _footer were really useful for, will happen now... The most

Re: [Zope-dev] WikiDot

2000-09-28 Thread Ken Manheimer
On Thu, 28 Sep 2000, Chris Withers wrote: These are the kinds of things i'm hoping to get at with WikiNG - a smart content widget, with two essential features - good impedence matching to authoring structured, linked content (structured text plus wiki refs), A lot of people I know

Re: [Zope-dev] Email the changes

2000-09-28 Thread Ken Manheimer
On Thu, 28 Sep 2000, Chris Withers wrote: The only quoting you need to know is example:: The two colons after the word "example" indicate that this contained block is all quoted. How is a 'contained block' delimited? As i did in my example, by indentation. (This is a primary

[Zope-dev] some suggestion..

2000-09-28 Thread Christian Scholz
Hi! While trying to code some python Product I had the need for extending manage_delObjects in some Folderlike object. I simply want to call the the ObjectManager's version of it and then do my own stuff afterwards (like deleting some other dependant objects). Unfortunately when calling

[Zope-dev] zope2.2.2 - ZopeTime not available to users defined in acl_users belowthe root?the root?

2000-09-28 Thread ross
Here's a problem which bit me today. I'd delegated someone to manage a Yihaw directory. zope 2.2.2 source running on a sun. make a folder at the root (eg /foo) with an acl_user folder there define a new user in the foo acl_user folder (eg foobar) with manager/owner rights add a dtml method to

Re: [Zope-dev] zope2.2.2 - ZopeTime security thing

2000-09-28 Thread Chris Withers
ross wrote: KeyError: (see above) Note, it's not unauthorised - it's just not in the namespace. IIRC, the new way for security errors like this to work is to throw a keyerror. So, it's probably a permissions problem manifesting itself as a KeyError. Try installing Shane Hathaway's ZDebug

Re: [Zope-dev] XHTML Templates comments from the peanut gallery

2000-09-28 Thread Dieter Maurer
Chris Withers writes: A **page** is the result of applying presentation to data in the object system. A page is a particular result of a URL when viewed under certain conditions. I'd like to add to this: components used to make up 'page's should not be URL-visible. Why

[Zope-dev] XHTML Templates comments from the peanut gallery

2000-09-28 Thread Spicklemire, Jerry
Chris Withers writes: A **page** is the result of applying presentation to data in the object system. A page is a particular result of a URL when viewed under certain conditions. I'd like to add to this: components used to make up 'page's should not be URL-visible.

[Zope-dev] RE: XHTML Templates comments from the peanut gallery

2000-09-28 Thread Jay, Dylan
However, the focus of the new Template architecture will be a new format based on XHTML. This XHTML Template will be focused on giving Site Designers round trip presentation authoring using the dominant tools such as Dreamweaver. XHTML Templates will be complete, well-formed HTML

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

2000-09-28 Thread Zope mailing lists
On Thu, 28 Sep 2000, Sin Hang Kin wrote: 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 That wouldn't surprise me. decide to emulate what they do. However, I do not understand what getlexicon

[Zope-dev] why cant i rename an object from an external method

2000-09-28 Thread Andy McKay
Heres a treat. I'm trying to write an external method to rename objects. I have approx 10,000 to rename so a script would be nice. No problem I thought, imitate a forms manage_renameObject and CopySupport.py can do the work. Rename works fine from the web form, but not from a script.

Re: [Zope-dev] mailing list 'noise'

2000-09-28 Thread Karl Anderson
Ken Manheimer [EMAIL PROTECTED] writes: On Thu, 28 Sep 2000, Chris Withers wrote: Toby Dickenson wrote: I dont see this as a problem: You only create a new list when the traffic for that proposal gets too great for zope-dev. Threading is good enough before that point. Yes, but

Re: [Zope-dev] why cant i rename an object from an external method

2000-09-28 Thread Shane Hathaway
Andy McKay wrote: Heres a treat. I'm trying to write an external method to rename objects. I have approx 10,000 to rename so a script would be nice. No problem I thought, imitate a forms manage_renameObject and CopySupport.py can do the work. Rename works fine from the web form, but not