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

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 dem

Re: [Zope] Core Session Tracking & DTML

2001-01-03 Thread Chris Withers
Chris McDonough wrote: > > > > > > 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 posible to make that even nicer and have whatever getSessionData is implement __ge

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 > > > > > > > > cannot be used safely to test, whether "o" has attribute > > itself (rather than acquired it). > > We probably should have a standard function for this kind > > o

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

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

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 anothe

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

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

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

[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: This works as expected when I run it using the 'View' tab. Now when I create a DTML document and call thi

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 al

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 n

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

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: | | I totally agree. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lis

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

2001-01-03 Thread Chris Withers
Erik Enge wrote: > > [Chris Withers] > > | > > 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 ___ Zope maillist - [EMAIL PROTECTED] h

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

2001-01-03 Thread Erik Enge
[Chris Withers] | What about security issues? Wouldn't this also allow those methods to be called TTW by any user? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

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

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: Now when I create a DTML document and call this method like this: it produces no output. Because DTML Documents ar

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 enc

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

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 u

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: > > > > > > > > > > > > > > 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 the more pathological case and needs to look pretty in DTML first. :-)

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

Re: [Zope] Question on __roles__

2001-01-03 Thread Chris Withers
Cees de Groot wrote: > > I've tried to trace down what happens, and found that ZPublisher.BaseRequest > has a funny bit: when trying to find out the necessary roles on an object, > it first tries to get the attribute '__roles__' on the subobject, and then > combines the current entry name plus '_

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

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

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

2001-01-03 Thread Evan Simpson
From: Chris Withers <[EMAIL PROTECTED]> > 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("") It's not great, but it's something. Cheers, Evan @ digicool & 4-am __

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

2001-01-03 Thread Chris Withers
Evan Simpson wrote: > > From: Chris Withers <[EMAIL PROTECTED]> > > > > 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 XML-RPC call into another Zope instance? cheers, Chris

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 thro

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 i

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 spe

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

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

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: This will allow you to fix any manageme

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

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

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

Re: [Zope] case insensitive search?

2001-01-03 Thread Robin Becker
In article , 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 >> stri

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: then calling it from a Python Method like so: hqnl = self.htmlquote_newlineToBr myitem=self.fixedLoc['varLoc1']['varLoc2'] print '' print '%s' % h

[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

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 Connec

Re: [Zope] Core Session Tracking kudos & namespaces

2001-01-03 Thread Dieter Maurer
Chris McDonough writes: > > Currently, nothing would be acquired, and the 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 would make available all session

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 guideline

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 core

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

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 on

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: The chunk_editFrameset method also disp

[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: 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? Dirksen __ Do You

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: The namespace of index_html right now is 'edit' (or another folder that acquires it) ...and... if the namespace of index_html is 'edit' than the namespace of in

[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) Home team Indians Blu

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. > > This is rendundant. ISO-8859-1 is the default encoding for http, anyway, and has ever been. -- Wolfgang Strobl __

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: > > > > > > You're right -- this works just as well, and is much cleaner. And I figured out my problem while yanking out another u

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

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

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 a

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