[Zope] RFC: is this the best way to make a referal app and a jumpnav menunav menu

2000-07-01 Thread George Donnelly
Basically i would like people's opinions as to whether i built these things in the "right" way or not. tia! jump menu *created a selection list and told it to pass a variable (the url of the selected item) called "url" to a method called "jump" which consists of the following: dtml-call

RE: [Zope] 2.2b3 and INSTANCE_HOME problem

2000-07-01 Thread Ron Bickers
-Original Message- From: Evan Simpson [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 01, 2000 2:02 AM To: Ron Bickers; [EMAIL PROTECTED] Subject: Re: [Zope] 2.2b3 and INSTANCE_HOME problem - Original Message - From: "Ron Bickers" [EMAIL PROTECTED] It's not looking in

Re: [Zope] Removing part of a string (in an URL)

2000-07-01 Thread T. J. Mannos
Walter, Try a little trick I use with _.string.split(). split() splits a string into two (or more) parts based on a delimiter. In this case, the delimiter could be any part of the URL directly to the left of /Zorba/busca/... For example: dtml-var "_.string.split(url, ':8080')[1]" This

Re: [Zope] ZOracleDA

2000-07-01 Thread Kiran Jonnalagadda
Michal Bukovjan wrote: Avoid using Oracle 8.1.5 at all costs. It has mislinked executables and libraries, I can't believe Oracle could have released such a shit. Instead, download and try Oracle 8.1.6 R2 - the current release. It fixes a number of issues (though not all of them) and at

[Zope] ZClass in ZClass problem

2000-07-01 Thread Oleg Broytmann
Hello! (Nobody dared to answer, retrying...) I started to learn ZClasses. I created a product, added a Zclass in it, and added a Zcalss inside outer ZClass - I want to create ZClass that's addable only inside outer ZClass. Then the problems begin. All management URLs for inner ZClass

[Zope] Every user should have the Anonymous role everywhere (was :Re: [Zope]Authentication, Anonymous and Public)Authentication, Anonymous and Public)

2000-07-01 Thread Chris Withers
Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... Quoting from the LoginManager CHANGES.TXT file: Generic User Source, like the GenericUserFolder product it was inspired

[Zope] (pas d'objet)

2000-07-01 Thread moch taufik
I have 1(one) sequence_item in a object and I was success insert them to the database. I have problem with 2 sequence_item. Anyone help me ?? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] Question

2000-07-01 Thread Jonathan Desp
Hi, Do you know any software, for creating mailing list, under Zope ? -- Very truly yours, Jonathan Desp Atoma Matter will become Software http://www.atoma.f2s.com ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Re: ZClass in ZClass problem

2000-07-01 Thread Oleg Broytmann
Followup to myself... On Sat, 1 Jul 2000, Oleg Broytmann wrote: Then the problems begin. All management URLs for inner ZClass contain %20, so URLs look like "propertysheets/methods/RandomZItem%20/manage_workspace" and "propertysheets/methods/RandomZItem_add%20/manage_workspace". I

[Zope] Re: Copy/Paste problem

2000-07-01 Thread Oleg Broytmann
Followup to myself... On Sat, 1 Jul 2000, Oleg Broytmann wrote: I (and some my friends) have problem with Copy/Paste. Sometimes it's wotking, but often Paste button does not appeared after Copy/Cut. After investigating I found that the problem is mostly related to SiteAccess. I can copy

Re: [Zope] 2.2b3 and INSTANCE_HOME problem

2000-07-01 Thread Ty Sarna
In article 003901bfe321$e744b990$c7da5e3f@mozart, Evan Simpson [EMAIL PROTECTED] wrote: It's a bug. I've been tracking down and squishing a few in corners where INSTANCE_HOME wasn't properly taken into account, but I hadn't gotten to XMLDocument yet. This should be fixed in CVS shortly (and

[Zope] RE: Every user should have the Anonymous role everywhere

2000-07-01 Thread Alan Capesius, MCSE
My suggestion for splitting the role or allowing an "anyone" or "public" role would allow "anonymous" to be maintained and used to identify users that are not authenticated. (This seems to be the norm now for DTML.) The new role would basically be defined as "ignore all security and allow

[Zope] sort=id, _.map, _.lambda woes

2000-07-01 Thread Marco Mariani
Hi all! I need the following: dtml-in "store.fileValues()" sort=id where "id" is a filename representing a number. Of course, sort uses it like a string and sorts it wrong. Maybe, since sortexpr= is not implemented (yet?) I could get away with: dtml-in "_.map(_.int,store.fileValues())"

[Zope] Arrg! dtml-in can't handle lists of pairs!

2000-07-01 Thread Cary O'Brien
Ok. I get a list of rows from a database query. I want to iterate over the rows. If there are 3 or more columns in the table, everythin is fine. If there are 2 columns, it doesn't work. It seems as if dtml-in handles lists of pairs specially. Not a good thing. Can I supress this

Re: [Zope] calling standard_html_header from external methods

2000-07-01 Thread Andy McKay
It sounds like it needs some arguments... the most obvious one I would try is request. HEADER=self.standard_html_header(REQUEST) - Original Message - From: "Marco Mariani" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 01, 2000 6:33 AM Subject: [Zope] calling

Re: [Zope] Arrg! dtml-in can't handle lists of pairs!

2000-07-01 Thread Luis Cortes
I have confirmed that this is strange behavior can be reproduced on 2.1.6 -- why I don't know. A work around may be to convert your tuples to lists (easy to do in python) sample working code: dtml-var standard_html_header h4Iterate over 3.tuples/h4 dtml-let

[Zope] how to invalidate an object in the cache?

2000-07-01 Thread Marco Mariani
I am working with photo rotating/resizing, via PIL on external method. All the images are kept on LocalFS. There is a thumbnail bonanza page, when I select a thumbnail a form is shown, and I can adjust rotation/contrast/brightness. Upon submit, the new image+thumbnail is calculated and written

[Zope] Patch to allow expression syntax for attribute 'sort' in dtml-in .. tag. Very please, test it !

2000-07-01 Thread Adam Karpierz
Dear community Please check out and test this patch that I would send it to Collector. I suppose that this feature is very usefull for us and would be good thing if will be insert in next beta of Zope2.2.0. This patch is crude, without any checks (because my Zope needs reinstall), but very

[Zope] Zope dumps core while querying on id

2000-07-01 Thread Luke Tymowski
Hello, Actually I suppose it's Python that's dumping core. The following query causes a core dump: dtml-with history dtml-with 2000 dtml-in "objectValues(['DTML Document'])" size=3 sort=id reverse dtml-var sequence-itembr /dtml-in /dtml-with /dtml-with The following

[Zope] When does Zope become single-threaded?

2000-07-01 Thread Hung Jung Lu
Hi, I seem to remember that in the old days, if one uses Zope with PCGI, it would only run single-threaded. Is the correct? Or is Zope now always multi-threaded? (I know one can control the number of threads via the -t option in the start script.) regards, Hung Jung

Re: [Zope-dev] EMarket and 2.2.0b3

2000-07-01 Thread Steve Spicklemire
Hi David, I think the design is flawed from the outset and should be changed. Basically I was trying to have my cake and eat it too with this one... and the solution (iterating through the folder class's manage_options and slapping on my own was goofy anyway...) but there's really no need.

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.1.1... and rising. ;-)

2000-07-01 Thread Steve Spicklemire
Hi Jim, et. al... Steve and Shane, We've been positively *dying* to have cvs or cvs-like functionality. It's one of those things where we left the unix-everything-is-a-file-idiom and went, "Oh, um, heh, now what?" =) Well.. I don't know much about cosource but I did just put the

Re: [Zope-dev] EMarket and 2.2.0b3

2000-07-01 Thread R. David Murray
On Sat, 1 Jul 2000, Adam Karpierz wrote: In installation of Zope Emarket and eTailer both installed and works ok on current 2.2.0 CVS. Well, they may work OK, but there's still a problem. Then you should update some files from current CVS. I did a full current CVS checkout, and if I access

Re: [Zope-dev] Zope2.2.0b3 Image/File object create/upload bug (w/patch)

2000-07-01 Thread Martijn Pieters
On Wed, Jun 28, 2000 at 11:32:48AM +0200, Adam Karpierz wrote: Please, can you explain me why this bug and path was retracted from Collector with message ?: "Retracted by submitter (in Zope-Dev mailinglist, forgot to define USE_EXTENSION_CLASS)." Sorry, that was my fault. I somehow mixed

[Zope-dev] Patch to allow expression syntax for attribute 'sort' in dtml-in .. tag. Very please, test it !

2000-07-01 Thread Adam Karpierz
Dear community Please check out and test this patch that I would send it to Collector. I suppose that this feature is very usefull for us and would be good thing if will be insert in next beta of Zope2.2.0. This patch is crude, without any checks (because my Zope needs reinstall), but very