Re: [Zope] Zope Projects in NL/Europe?

2001-01-03 Thread Rik Hoekstra
(Writing from the Netherlands) Just wondering: are there any Zope projects are available in the Netherlands/Benelux/Europe? We did one last year but they seem hard to find. Are there commercial projects available or is Zope mostly used on internal projects? Is there any demand for Zope

Re: [Zope] case insensitive search?

2001-01-03 Thread Aleksander Salwa
On Wed, 3 Jan 2001, Robin Becker wrote: Is there an easy way to make the Find tab case insensitive. It seems like a very common need, but I see that FindSupport.py is calling string.find which makes it seem as though this is harder than it should be. You can try my very quick patch,

Re: [Zope] Zope Projects in NL/Europe?

2001-01-03 Thread Maik Röder
Hi Jonathan ! Jonathan wrote: Hi all, Just wondering: are there any Zope projects are available in the Netherlands/Benelux/Europe? We did one last year but they seem hard to find. Are there commercial projects available or is Zope mostly used on internal projects? Is there any demand

Re: [Zope] Core Session Tracking DTML

2001-01-03 Thread Chris Withers
Chris McDonough wrote: dtml-with sessionmanager dtml-with getSessionData dtml-var "get('a')" /dtml-with /dtml-with I would have thought this stuff would be better in a python script: sessionmanager.getSessionData.get('a') ...since it is definitely 'logic' Would it be

Re: [Zope] UNEXPECTED: Acquisition.Explicit may acquire implicitly

2001-01-03 Thread Dieter Maurer
Pierre-Julien Grizel writes: Dieter Maurer wrote: This implies, that the idiom dtml-if "_.hasattr(o.aq_explicit,)" cannot be used safely to test, whether "o" has attribute itself (rather than acquired it). We probably should have a standard

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Dieter Maurer
Chris Withers writes: John Chandler wrote: As already mentioned, not all errors (unfortunately) get handled by standard_error_message - authorisation being the main culprit. In addition, if an error occurs in a standard_error_message it'll also cause the plain, default error

[Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Dieter Maurer
Jim Washington writes: Can I keep this from happening? html_quote does not seem to be in the Python Method namespace. Please help lobbying that the functionality of all "dtml-var" attributes are exposed as standard functions. The functions are there already, just not exposed to DTML and

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-03 Thread Dieter Maurer
Cees de Groot writes: Jon Prettyman [EMAIL PROTECTED] said: If you are using ZSQLMethods and your database returns column names in one case (UPPER) but you reference them with another (lower) it appears that instances of SQLAlias get leaked. Thanks for the info (and another reason to

Re: [Zope] dtml-in: total??

2001-01-03 Thread Dieter Maurer
Edwin Martin writes: I'm making a generic DTML-method which shows a bar like AltaVista does: [ previous] [1] [2] [3] [4] [next ] I need to know the number of rows the database returned. In appendix A of the Zope book, I see I can use total-name etc. How can I get the

[Zope] Bad Zope hack (was: [Zope] A subclass from PortalMember ofMembership Product and ObjectManager won't list contained objects) Membership Product and ObjectManager won't list contained objects)

2001-01-03 Thread Dieter Maurer
Dirksen writes: My site is installed with the Membership system. I want to store some photos in each member. So I create a new member ZClass, subclassing PortalMember and ObjectManager, and set the 'manage_main' as the main view. Under the instance of this new member ZClass, I can add

[Zope] (no subject)

2001-01-03 Thread lcdsl
GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY! STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN GET ONE FOR ONLY $11.95 PER MONTH! DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO

[Zope] objectValues Question

2001-01-03 Thread Koch Marc
Hi, I'm new to Zope and while 'playing' around I wondered about the following: I've created a DTML method (called MyListFiles) that lists the 'File' objects contained in a folder: ul dtml-in "objectValues('File')" lia href="dtml-var absolute_url"dtml-var id/a/li /dtml-in /ul This works as

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: You should be able to make "standard_error_message"s that do not generate secondary errors. If you fail, a crude minimal error handling should be okay as a last resort. Hmmm... maybe there should be an option on this then? ;-) cheers, Chris

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: Jim Washington writes: Can I keep this from happening? html_quote does not seem to be in the Python Method namespace. Please help lobbying that the functionality of all "dtml-var" attributes are exposed as standard functions. The functions are there already,

Re: [Zope] Non-ASCII-form-input - HTML-entities?

2001-01-03 Thread Toby Dickenson
On Wed, 3 Jan 2001 10:33:20 +0100, "Markus Kemmerling" [EMAIL PROTECTED] wrote: I would like to have users being able to enter german vowels Your suggested solution is a good one if you know all your users are german, all using the same browser, all with the correct german configuraton. If

[Zope] Industry customer lists

2001-01-03 Thread Luis Botelho
This email is to request information on your company for our on line directory and introduce you to our company Repharm. Best Regards, Dianne Edwards Tel: 905-721-8456 Fax: 905-721-1471 email: [EMAIL PROTECTED] Repharm has the following installed customer databases and services

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Morten W. Petersen
[Chris Withers] | I'll second this. It'd be _so_ nice... | | ever wanted to do: | | dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" I totally agree. -Morten ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Chris Withers
Erik Enge wrote: [Chris Withers] | dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" What about security issues? Wouldn't this also allow those methods to be called TTW by any user? No. Even if it did, what harm would it do? cheers, Chris

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Erik Enge
[Chris Withers] | dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" What about security issues? Wouldn't this also allow those methods to be called TTW by any user? ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] objectValues Question

2001-01-03 Thread Cornelis J. de Brabander
By applying your MyListFiles method within the context of your DTML Document you are asking for files that are contained by your DTML Document and there are none. By 'viewing' your method in the management interface you are applying your method within the context of the folder that contains it,

Re: [Zope] objectValues Question

2001-01-03 Thread Rik Hoekstra
I'm new to Zope and while 'playing' around I wondered about the following: I've created a DTML method (called MyListFiles) that lists the 'File' objects contained in a folder: snip Now when I create a DTML document and call this method like this: dtml-var MyListFiles it produces no output.

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Erik Enge
[Chris Withers] | Even if it did, what harm would it do? Denial of Service attacks was what I though of. But it's a non-issue I guess. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] First Project

2001-01-03 Thread Koch Marc
Thank you, ...for your tip with the PARENTS[0].objectValues('File') Please let me ask your advice on how to realize the following: I would like to build an application for handling development requests. These requests should be submitted by our end-users through our Intranet to my team. We

Re: [Zope] standard_error_message woes!

2001-01-03 Thread albert boulanger
You should be able to make "standard_error_message"s that do not generate secondary errors. If you fail, a crude minimal error handling should be okay as a last resort. The Lisp system on Symbolics had both. It had a too-many-error-frame detector for the error reporter that

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Chris Withers
albert boulanger wrote: You should be able to make "standard_error_message"s that do not generate secondary errors. If you fail, a crude minimal error handling should be okay as a last resort. The Lisp system on Symbolics had both. It had a too-many-error-frame

Re: [Zope] Core Session Tracking DTML

2001-01-03 Thread Chris McDonough
Chris McDonough wrote: dtml-with sessionmanager dtml-with getSessionData dtml-var "get('a')" /dtml-with /dtml-with I would have thought this stuff would be better in a python script: sessionmanager.getSessionData.get('a') Yeah, I'm jus using DTML because it's

Re: [Zope] Core Session Tracking DTML

2001-01-03 Thread Chris Withers
Chris McDonough wrote: sessionmanager.SessionData.a ...or something similar? Yes. That's what Bob S. suggested. What are the benefits of this? More graceful code that's more 'pythonesque' in Python Scripts: if sessionmanager.SessionData.a['mykey'] == 1: ...as opposed to... if

[Zope] Leaking Oracle connections processes

2001-01-03 Thread Shai Berger
Hi guys, We are trying to build a site with Zope and Oracle, and we see again and again a situation where Oracle connections and processes are being leaked: the more we work, the more there are, until we reach Oracle's limit for number of processes. At this point, the Connection objects close

[Zope] Problem with SiteAccess

2001-01-03 Thread Leonardo Graf
Hello, I'm trying to use the SiteAccess Product as discribed in the HowTo: Using Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as described. My ZServer is listening on www.myserver.com:9080/somesite. I would like to be able to access the ZServer through apache via the

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" Well, in Python Scripts at least, you can do:: from Products.PythonScripts.standard import special_formats url_quote = special_formats['url-quote'] return url_quote("OK?") It's not great,

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Chris Withers
Evan Simpson wrote: From: Chris Withers [EMAIL PROTECTED] dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" Well, in Python Scripts at least, you can do:: from Products.PythonScripts.standard import special_formats Hmmm... can you do something similar to perform an

Re: [Zope] First Project

2001-01-03 Thread Marcin Kasperski
Koch Marc wrote: Thank you, ...for your tip with the PARENTS[0].objectValues('File') Please let me ask your advice on how to realize the following: I would like to build an application for handling development requests. These requests should be submitted by our end-users through our

Re: [Zope] First Project

2001-01-03 Thread Michael Bernstein
Koch Marc wrote: Please let me ask your advice on how to realize the following: I would like to build an application for handling development requests. These requests should be submitted by our end-users through our Intranet to my team. We then look at each new request and dispatch it to

RE: [Zope] (no subject)

2001-01-03 Thread Mohan Baro
If its not ZOPE hosting ... don't send it here!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 03, 2001 2:00 AM To: [EMAIL PROTECTED] Subject: [Zope] (no subject) GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95

RE: [Zope] Advice on searching/indexing Word documents?

2001-01-03 Thread sean . upton
I really like the idea of extending OFS:File to support different file types, but what I would like to see is something that is format/filter/library agnostic. That is to say, that perhaps the way we ought to go about this is to create an API framework that upon upload filters the file with a

Re: [Zope] Core Session Tracking DTML

2001-01-03 Thread Chris McDonough
Chris McDonough wrote: sessionmanager.SessionData.a ...or something similar? Yes. That's what Bob S. suggested. What are the benefits of this? More graceful code that's more 'pythonesque' in Python Scripts: if sessionmanager.SessionData.a['mykey'] == 1: ...as opposed to...

Re: [Zope] Core Session Tracking DTML

2001-01-03 Thread Chris Withers
Chris McDonough wrote: You can't do assignment in DTML, and session-tracking needs to be usable from DTML, so the "ob.attr = val" idiom is out from the get-go. Another assumption I'm making is that "there should only be one way to do it". I'd rather not have both __setattr__ and .set

Re: [Zope] Core Session Tracking DTML

2001-01-03 Thread Chris McDonough
Chris McDonough wrote: sessionmanager.SessionData.a ...or something similar? Yes. That's what Bob S. suggested. What are the benefits of this? More graceful code that's more 'pythonesque' in Python Scripts: if sessionmanager.SessionData.a['mykey'] == 1: ...as opposed to...

Re: [Zope] case insensitive search?

2001-01-03 Thread Andy McKay
A less easy way is to patch dtml-in so its allows sorts where it is case insensitive. Theres a simple patch for this here: http://www.zope.org/Members/andym/IgnoreCase Then patch the findResult.dtml, dtml source: lib\python\OFS\findResult.dtml line 44: dtml-in results sort ignore_case This

Re: [Zope] Problem with SiteAccess

2001-01-03 Thread The Doctor What
* Leonardo Graf ([EMAIL PROTECTED]) [010103 09:16]: Hello, I'm trying to use the SiteAccess Product as discribed in the HowTo: Using Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as described. My ZServer is listening on www.myserver.com:9080/somesite. I would like

Re: [Zope] case insensitive search?

2001-01-03 Thread Aleksander Salwa
On Wed, 3 Jan 2001, Robin Becker wrote: Is there an easy way to make the Find tab case insensitive. It seems like a very common need, but I see that FindSupport.py is calling string.find which makes it seem as though this is harder than it should be. Now, I did it better way. No regular

Re: [Zope] case insensitive search?

2001-01-03 Thread Andy McKay
Is there an easy way to make the Find tab case insensitive. It seems like a very common need, but I see that FindSupport.py is calling string.find which makes it seem as though this is harder than it should be. Now, I did it better way. No regular expressions. Just case-insensitive

[Zope] Question: How to generate a core file in Solaris 2.6

2001-01-03 Thread Michael Best
I am running Zope 2.1.6 and 2.2.3 under Solaris, and we are having some stability problems. With some previous posts from developers we seem to think that it might be a custom product that we are using that contains some c code. We can't really be certain, although we are devising some tests to

Re: [Zope] Advice on searching/indexing Word documents?

2001-01-03 Thread Jonothan Farr
This sounds pretty exciting. Sounds like someone should set up a proposal on dev.zope.org.I'm afraid I wouldn't be able to contribute much development right now but I'd be willing to help test and participate in discussions. --jfarr - Original Message - From: [EMAIL PROTECTED] To:

Re: [Zope] case insensitive search?

2001-01-03 Thread Robin Becker
In article Pine.LNX.4.21.0101032012320.775-101000@localhost, Aleksander Salwa [EMAIL PROTECTED] writes On Wed, 3 Jan 2001, Robin Becker wrote: Is there an easy way to make the Find tab case insensitive. It seems like a very common need, but I see that FindSupport.py is calling string.find

Re: [Zope] html_quote in python methods?

2001-01-03 Thread Jim Washington
Thanks, Andy, Dieter, Chris, Evan for the discussion What I ended up doing was making a DTML Method called htmlquote_newlineToBr that looks like: dtml-var theitem html_quote newline_to_br then calling it from a Python Method like so: hqnl = self.htmlquote_newlineToBr

[Zope] EVAL DTML?

2001-01-03 Thread Brian Withun
Is it possible to, say, retrieve DTML code from an external database (such as Sybase) and then have that DTML code render itself? As I recall there is a security issue with Zope allowing Python to EVAL dtml.. I am not finding references to this kind of activity online. Has anyone accomplished

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Dieter Maurer
Chris Withers writes: Dieter Maurer wrote: You should be able to make "standard_error_message"s that do not generate secondary errors. If you fail, a crude minimal error handling should be okay as a last resort. Hmmm... maybe there should be an option on this then?

Re: [Zope] Leaking Oracle connections processes

2001-01-03 Thread Dieter Maurer
Shai Berger writes: We are trying to build a site with Zope and Oracle, and we see again and again a situation where Oracle connections and processes are being leaked: the more we work, the more there are, until we reach Oracle's limit for number of processes. At this point, the

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-03 Thread Dieter Maurer
Chris McDonough writes: Currently, nothing would be acquired, and the dtml-var a call will fail inside of a "with sessiondatamanager" even if we did have a __getattr__ interface to session data objects Are you sure? As I understand it, at least a dtml-with

Re: [Zope] Non-ASCII-form-input - HTML-entities?

2001-01-03 Thread Dieter Maurer
Markus Kemmerling writes: I would like to have users being able to enter german vowels ä, ö, ü and other non-ASCII-characters for which HTML-entities exist (ISO 8859-1) into a form-input-field and have them rendered as HTML-entities by the corresponding var-tag in the form-handler.

[Zope] Re: Re: [Zope] Re: decline description (KMM499042C0KM)

2001-01-03 Thread Download.com Support
Thank you for your submission to CNET Download.com. Unfortunately, we are unable to consider your software for inclusion in our library because the description does not give us enough information. Feel free to resubmit your program with a more complete description, according to these

Re: [Zope] Question: How to generate a core file in Solaris 2.6

2001-01-03 Thread Jon Prettyman
I had a similar problem quite some time ago. I never could get a core file to generate, but since the crash occured so often, I was able to attach gdb (GNU debugger) to the process and was able to see the segmentation violation that was occurring. I never did figure out why I couldn't get a

[Zope] Using a multiple_selection property in a product

2001-01-03 Thread Ronald L. Roeber
I am attempting to build a product that will contain some unique information and access control for services in support of college classes. Many, many things are going well...better than expected. However I am having problems getting the product to correctly recognize a multiple selection

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-03 Thread Chris McDonough
You're right, Dieter. I was thinking in Python terms and forgot about DTML namespace lookup rules. :-( Yes, if we had a __getattr__ interface or used the mapping keyword on the return value of a __getitem__-based session data object, and if the name was not found in the namespace that is put

RE: [Zope] Using a multiple_selection property in a product

2001-01-03 Thread Randall F. Kern
Try this: _properties = ( {'id':'classdays', 'type':'multiple selection','mode':'w', 'select_variable': 'days'}, ...) days = ( 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday' ) -Randy -Original Message- From: Ronald L. Roeber

[Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread Geoffrey L. Wright
or... "A Cry for Namespace Help" I seem to have run into one of those Zope namespace issued that's starting to make me dizzy. I have a index_html method that displays content conditionally depending on where it's called. It looks like this: dtml-if expr="PARENTS[0].id != 'edit'"

[Zope] A bug in Membership product? (member password can be revealed by dtml method accessible by anonymous)

2001-01-03 Thread Dirksen
Hi Bill, A dtml method with these lines: dtml-with "acl_users.getItem('z')" dtml-var password /dtml-with will show the password, despite that the methode is accessible by anonymous. Members in my site is allowed to use dtml method. How can I prevent them from reading others' properties?

RE: [Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread sean . upton
Not sure if this is your problem, but since methods don't have namespaces, I'm not sure why your code could not be reduced to: dtml-if expr="id != 'edit'" dtml-var index.html dtml-else dtml-var chunk_editFrameset /dtml-if The namespace of index_html right now is 'edit' (or another folder that

[Zope] [Newbie] ZSQL problem

2001-01-03 Thread Michal Seta
Hello all. I'm a total newbie to Zope (a few days). I have a problem with getting some results throuh a ZSQL method. (I've been playing with a sample baseball database that came with PyGreSQL.) I have a form that accepts multiple choice: (generated by the wizard) form

Re: [Zope] Non-ASCII-form-input - HTML-entities?

2001-01-03 Thread Wolfgang Strobl
On 3 Jan 2001, at 22:53, Dieter Maurer wrote: I would instead include a "charset" declaration and no longer worry about HTML entities for latin 1 characters. dtml-call "RESPONSE.setHeader('Content-Type','text/html; charset=iso-8859-1')" This is rendundant. ISO-8859-1 is the default

Re: [Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread Geoffrey L. Wright
[EMAIL PROTECTED] writes: Not sure if this is your problem, but since methods don't have namespaces, I'm not sure why your code could not be reduced to: dtml-if expr="id != 'edit'" dtml-var index.html dtml-else dtml-var chunk_editFrameset /dtml-if You're right -- this works just as

RE: [Zope] Zope Projects in NL/Europe?

2001-01-03 Thread Jonathan
Just wondering: are there any Zope projects are available in the Netherlands/Benelux/Europe? What do you mean by 'available'? Ai, just spotted a grammatical error in my own message. By available I mean projects that might need extra people/expertise in programming and design. Most of our

[Zope] Non-ASCII-form-input - HTML-entities?

2001-01-03 Thread Markus Kemmerling
I would like to have users being able to enter german vowels ä, ö, ü and other non-ASCII-characters for which HTML-entities exist (ISO 8859-1) into a form-input-field and have them rendered as HTML-entities by the corresponding var-tag in the form-handler. The 'html_quote'-attribute only

RE: [Zope] Zope Projects in NL/Europe?

2001-01-03 Thread Jonathan
Find out yourself at the EuroZopeCon on the LinuxExpo in Amsterdam January 23-24 2001 ;-) http://zdp.zope.org/projects/eurozope/events/linuxexpo2001 Gotta be there :) BTW: EuroZope is an initiative to better support Zope in Europe. The main topic right now is Internationalization and

Re: [Zope] How to write good docs

2001-01-03 Thread Chris Withers
Bob Sidebotham wrote: The author obviously put himself in the position of someone who didn't know anything about the topic, and wrote the documentation to satisfy this person This has gotta be the best description of how to write good docs I've seen in a while :-) cheers, Chris

Re: [Zope] Editing the z2.py File

2001-01-03 Thread Paul Browning
--On 02 January 2001 17:23 +0100 Stephane Bortzmeyer [EMAIL PROTECTED] wrote: On Friday 22 December 2000, at 18 h 56, the keyboard of Michael Bernstein [EMAIL PROTECTED] wrote: Umm, even if *everything* else fails, you can still manually truncate the Data.fs file to remove the last

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Shane Hathaway wrote: Python's sort() lets you sort based on not only strings but also tuples, lists, and numbers, which is a very useful feature. Thus sort() is intended to be a highly generalized method. It is useful but not ideal for sorting text strings. What you *really* want is a

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: Chris Withers writes: Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) I would not like to see this sort order in the management screens, because I use capitalization to ensure that

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Toby Dickenson wrote: (reasons of course would be helpful, particularly if you want it to stay like it is ;-) I noticed the smiley, so Im not sure how serious the suggestion is. It was serious, the smiley was 'cos I couldn't understand why anyone would want it to stay like it is :-) 1.

Re: [Zope-dev] Conflict Errors

2001-01-03 Thread Dieter Maurer
Chris Withers writes: However, if anyone does know what constitutes a 'seperate object' in ZODB terms, it be really useful to know. I'm guessing a class which inherits from Persistent? Dictionaries don't, 'cos they're python builtins, which I'm pretty certain was the problem in my

RE: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy Dawkins
Dieter Maurer wrote: Chris Withers writes: Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) I would not like to see this sort order in the management screens, because I use capitalization to

Re: [Zope-dev] Acquisition wishlist :-)

2001-01-03 Thread Chris Withers
Jim Fulton wrote: I'm inclined to think that in some future version of Zope, we should switch to making explicit acquisition the norm. Well, implicit is good when you're starting, but can cause fun with security later. Hmmm, I guess I like the way it is but my wishlist (damn, Christmas just

[Zope-dev] Re: Starting ZServer

2001-01-03 Thread me_in_apache
Hi guys, This is my first entry to this mailing list and please forgive me if u feel this a stupid problem to begin with.(Today happens to be my first day on ZServer) My Zserver has started at 8080 but the manage.dtml is not accessible from the browser either as localhost or with the host

Re: [Zope-dev] dynamic permissions in zope

2001-01-03 Thread Dieter Maurer
Heinz-Josef Claes writes: dynamic permissions It is not Zope's normal behaviour. Of cause, you could plug in a new UserFolder that implements the features you require (someone else recommended "LoginManager"). On the other hand, Zope is flexible enough to let you approximate the

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Phil Harris
See below (nothing earth shattering tho) ;) - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Shane Hathaway" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 03, 2001 10:58 AM Subject: Re: [Zope-dev] case insensitive sorts Shane Hathaway wrote:

RE: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy Dawkins
Andrew David Wayne bart sophie is better than sorting: Andrew bart David sophie Wayne That's only because you use NT (ach spit). ;) Thats not actually true. It is how python behaves on WinNt, Win9X, Linux, etc (I have tested this) -Andy

Re: [Zope-dev] Re: Starting ZServer

2001-01-03 Thread matt
http://127.0.0.1:8080/ if that works then check out your /etc/hosts file or equiv On Thu, 04 Jan 2001, [EMAIL PROTECTED] wrote: Hi guys, This is my first entry to this mailing list and please forgive me if u feel this a stupid problem to begin with.(Today happens to be my first day on

Re: [Zope-dev] [ZPatterns] DataSkin and Zope Security

2001-01-03 Thread Chris Withers
"Phillip J. Eby" wrote: DataSkins stored in Racks do not participate in the Zope ownership mechanism, nor the creation of the 'Owner' role. This is because they are not being stored via the normal ObjectManager protocols. Hurm... to what extent do they participate in Zope's Security

[Zope-dev] AppTabs

2001-01-03 Thread Chris Withers
Ty Sarna wrote: AppTabs[4] [4] Unreleased product, still in some flux. It mainly provides fancier, more flexible version of Zope's management tabs, suitable for use in an application (that is, suitable for exposing to users, not just developers). It also has some local roles hooks as

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2001-01-03 Thread Chris Withers
Steve Alexander wrote: On a related issue, what about other dtml snippets that people generally don't want as web accessible, such as standard_html_header ? On my pie-in-the-sky zope wishlist: snip wishlist I did have a proposal for just this on dev.zope.org, but I see someone has

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: There are objects, that should be usable by Anonymous inside DTML but should not be viewable over the web (as they will only confuse). All page components (such as "standard_html_header/footer") fall into this category. Totally agree... this has bugged

RE: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy Dawkins
Your analogies imply that this behavior is a bug or an unintended flaw in the design. I would argue that it is intentional. Unix file systems work the same way. Try doing an "ls" with mixed case files and you'll see what I mean. It isn't a flaw. It seems as though it was overlooked. The

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
Andy Dawkins wrote: Your analogies imply that this behavior is a bug or an unintended flaw in the design. I would argue that it is intentional. Unix file systems work the same way. Try doing an "ls" with mixed case files and you'll see what I mean. It isn't a flaw. It seems as

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Andy McKay wrote: They want information fast and most users expect case insensitive sorts. Its simpler and easy. I think having the ignore_case option for a -tree and -in helps Zope by increasing the ease of development and friendliness to the user. And my point was that this is so

Re: [Zope-dev] Allowed characters in Zope ids

2001-01-03 Thread Andy McKay
I recently read RFC 2396 which defines the generic URI syntax and especially the URL syntax. I recognized, that * Zope forbids many characters in ids (with the error message "not allowed in URLs"), that are legal characters in URL path segments: generally allowed in URL's:

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy McKay
Hmm im actually not so sure on that. Currently you can do a sort either way, if you fix it so its only case sensitive we'll end up like Visual Basic :) Fixing python is a question for the python list and I'd be scared to ask it there... -- Andy McKay, Developer. ActiveState. - Original

[Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Chris Withers
Hi, Once again I'm back at trying to solve this problem, hopefully with a little more knowledge this time ;-) What I'd like: 'Zope' objects of type 'X', which can have multiple parents and can contain other objects of type 'X', where storage isn't necessarily tied to the ZODB but where the

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Andy McKay wrote: Hmm im actually not so sure on that. Currently you can do a sort either way, if you fix it so its only case sensitive we'll end up like Visual Basic :) Actually, I'd like to see it 'fixed' so it's only case insensitive: Alan betty Carl Wilbur Fixing python is a question

Re: [Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Steve Spicklemire
Hi Chris, Random thoughts follow. ;-) I think that if you make your DataSkins folderish it will be hard to make the storage anything other than ZODB. However, Steve Alexander posted a neat trick the other day where __bobo_traverse__ is supplied by an attribute provider. You could use this

[Zope-dev] Re: Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Steve Alexander
Chris Withers wrote: Hi, Once again I'm back at trying to solve this problem, hopefully with a little more knowledge this time ;-) What I'd like: 'Zope' objects of type 'X', which can have multiple parents and can contain other objects of type 'X', where storage isn't necessarily tied

Re: [Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Phillip J. Eby
At 05:15 PM 1/3/01 +, Chris Withers wrote: What I'd like: 'Zope' objects of type 'X', which can have multiple parents and can contain other objects of type 'X', where storage isn't necessarily tied to the ZODB but where the objects have a normal properties page (in terms of use, again, it'd

Re: [Zope-dev] OracleStorage, and possibly others

2001-01-03 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: - Policies to control whether multiple revisions are stored or whether revisions are removed by packing on a object-by-object or transaction-by-transaction basis. You could keep significant historical revisions for important

Re: [Zope-dev] Import with INSTANCE_HOME?

2001-01-03 Thread Evan Simpson
From: BS [EMAIL PROTECTED] Can anyone tell me how to do a "from Products.ZPatterns import anything" when using INSTANCE_HOME? Do I have to add the INSTANCE_HOME path to sys.path? As long as Python has already imported Zope (i.e. you're in another Product) you don't need to do anything

[Zope-dev] Frozen Zope?

2001-01-03 Thread BS
Has anyone tried to use the "Freeze" utility on Zope? How about Gordon McMillian's"Install" application to make a self-contained Python-Zope executable for Win32? My goal is to create a very easy install of Zope that consists of one or two files. For some of my clients this seems less

Re: [Zope-dev] ZPatterns question

2001-01-03 Thread Christian Scholz
Hi! Actually should answer to these posts... ;-) On Thu, Dec 28, 2000 at 03:11:37PM -0500, Steve Spicklemire wrote: Hi Christian, Well, nobody else answered that I saw... so I'll take a crack at your questions "CS" == Christian Scholz [EMAIL PROTECTED] writes: CS Hi

Re: [Zope-dev] ZPatterns question

2001-01-03 Thread Christian Scholz
Hi Steve! On Thu, Dec 28, 2000 at 10:45:46PM +, Steve Alexander wrote: Steve Spicklemire wrote: CS 2. Is it planned to provide something like a virtual folder CS which acts like a normal object manager but is controlled via CS ZPatterns (so actually something like

Re: [Zope-dev] Re: Starting ZServer

2001-01-03 Thread Dieter Maurer
[EMAIL PROTECTED] writes: My Zserver has started at 8080 but the manage.dtml is not accessible from the browser either as localhost or with the host name. Please suggest me an answer the problem ASAP. You are using: http://localhost:8080/manage do you? You must not use

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Dieter Maurer
Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? If you apply some naming conventions, such as "objects start with a Capital letter, verb with a lowercase letter", you may find Python's sorting order usefull. Dieter

Re: [Zope-dev] CatalogAware

2001-01-03 Thread Michael Bernstein
Chris Withers wrote: Michael Bernstein wrote: If you are writing your own cataloging and uncataloging code, then I think that it could be. G The cataloguing code in Squishdot amounts to about 4 lines, all of which are calls to standard ZCatalog interface methods as

  1   2   >