[Zope-dev] changing/storing Properties with ZPatterns

2000-12-01 Thread Joachim Schmitz
Hi, I setup a Specialist with a ZCLass "AZ" for persistent storage. In AZ I setup a Dataskin propertysheet "Basic" with properties Name, Street etc. Now I made dtml-method form which iterates with: dtml-call "REQUEST.set('ni',getItem(sid+id))" dtml-in "ni.propertysheets.Basic.propertyMap()"

[Zope-dev] Allowed Product Changes

2000-12-01 Thread Robin Becker
I'm building some Products in python and find it very difficult as I never know when a source change is going to render the data for existing instances invalid. Sometimes when this happens it takes down the containing folder as well. Are there any obvious do's and don'ts and how-tos when

Re: [Zope-dev] changing/storing Properties with ZPatterns

2000-12-01 Thread Phillip J. Eby
At 10:07 AM 12/1/00 +0100, Joachim Schmitz wrote: this works fine. Now I wanted to have attributes which I don't want to display in the form, for example complete attribute. I therefore created another dataskin propersheet Internal in AZ with a property complete and tried to set it with:

[Zope-dev] CustomizerFolder and the order of things in general

2000-12-01 Thread Stefan H. Holek
I am in the process of developing a product that patches the Folder class at runtime - the Hotfix way. I append an additional tab to the Folder class' manage_opions from the __init__.py of my product. While this works fine for standard Folders and the Folder derived products I've tested,

[Zope-dev] More ZPatterns confusion

2000-12-01 Thread Kent Polk
I have a persistent object class I'm trying to model in ZPatterns. --- MasterRack Class: A physical Master Rack is composed of 96 tubes of DNA, one tube per DNA sample, organized by families. ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] changing/storing Properties with ZPatterns

2000-12-01 Thread Joachim Schmitz
At 10:07 AM 12/1/00 +0100, Joachim Schmitz wrote: this works fine. Now I wanted to have attributes which I don't want to display in the form, for example complete attribute. I therefore created another dataskin propersheet Internal in AZ with a property complete and tried to set it with:

[Zope] Boring ZClass: request for a ZClass example...

2000-12-01 Thread tom smith
I keep getting flummoxed by the tutorials on how to create ZClasses... Is there a really simple product, maybe with just 2 classes (with say 4 properties each)...with methods to create, edit and updateand listwith super simple HTML, (i.e no/few tables to have to scroll around in the

Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-12-01 Thread Riku Voipio
On Thu, Nov 30, 2000 at 02:18:57PM -0800, Andy McKay wrote: For most small applications DTML can suffice, but when it gets large you should separate your code the way its intended, DTML is for simple logic and presentation ONLY. Whilst PythonMethods are cool, I would naturally stray away

Re: [Zope] Custom tpValues for dtml-tree

2000-12-01 Thread Chris Withers
Randall Kern wrote: This works fine for the first page, but once I try to expand an item I get: Error Type: AttributeError Error Value: 'tuple' object has no attribute 'append' This, IIRC, is a bug in dtml-tree that no-one ever managed to fix. Maybe someone at DC could help? Try sticking

[Zope] Help - cannot import zexp

2000-12-01 Thread Oleg Broytmann
Hello! Please help, I have a problem importing my zexp. Initially I created the exported zexp while debugging some External Method. The method is declared as follows: def navigation_leftColumn(self, _, render=default_render): ... where default_render is a helper function, defined in

[Zope] Making lots of external data searchable?

2000-12-01 Thread Anselm Lingnau
I'm using Zope to re-vamp a web site, one of whose most important features is an archive of a reasonably busy mailing list, which is accessed using home-grown Perl CGI code. I've written Python code to let users browse the archive sorted by users, subject etc., but now I'm looking at allowing

Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-12-01 Thread Oleg Broytmann
On Fri, 1 Dec 2000, Stefan H. Holek wrote: Why isn't there a mod_zope module? There certainly are mod_snake and mod_python. Has anybody tried to run Zope with one of those? Zope is a server by itself, it doesn't need to be embedded ito Apache. PLUG mode="shameless" There IS

[Zope] trouble: products created inside Zope, updating from 2.1 to 2.2

2000-12-01 Thread Thies Bähr
Hi, there are two types of Zope products: Products created via the Zope Web-Interface and products defined as python classes which are then icluded through a product directory. Unfortunately, the only information I discovered so far deals with these external products. As I understand it, the

RE: [Zope] ZMySQLDA installation problem (fwd)

2000-12-01 Thread Chris Gray
Eric Walstad replied to me off-list with the solution to my problem so I've included it below and I'll copy the zope list since your question makes me think the solution should be made public. Cheers, Chris On Fri, 01 Dec 2000 06:48:26 - Roberto Fernandez wrote: I read you post about

Re: [Zope] Status of HiperDom, again ;-) (Re: [Zope] Presentation Object Model)

2000-12-01 Thread Martijn Pieters
On Thu, Nov 30, 2000 at 03:00:47PM -0200, Lalo Martins wrote: The only thing that *can* happen before that, if I feel like it and have a free weekend, is a version of HiperDom based on 4DOM instead of the old xml-sig code. Version 1.0 definitely *will* be based on 4DOM, as that is the

[Zope] authenticate user

2000-12-01 Thread Sven B.
hi, why this code isn't working anymore in zope 2.2.4 dtml-if "acl_users.getUser(username).authenticate(passwort, REQUEST)" good dtml-else bad /dtml-if greetings sven ___

[Zope] A new Zope Product for the documentation of databases...

2000-12-01 Thread Frederic Quin
Hi all, I made a new Zope Product for the automatisation of the display and the management of databases documentation. This product was developed for my company, for internal use only. We decided to propose this product to the Zope Community. It is open-source and for non-commercial use only...

[Zope] authenticate and Zope 2.2.4

2000-12-01 Thread brocken22
Is it possible that since 2.2.4 the authenticate-method is no longer allowed?? In an 2.2.0-installation a script to authenticate users it's working perfectly and in two other machines(win98 and Linux) with 2.2.4, Zope doesn't want the user(role as manager) to use it(a pop-up-authentication-window

Re: [Zope] A new Zope Product for the documentation of databases...

2000-12-01 Thread Stephane Bortzmeyer
On Friday 1 December 2000, at 16 h 41, the keyboard of Frederic Quin [EMAIL PROTECTED] wrote: It is open-source and for non-commercial use only... ... If you try it, let me know what you think about this product I think that "Open Source" really means nothing if people start to use it that

[Zope] Re: [ez] Re: [Zope] A new Zope Product for the documentationof databases... of databases...

2000-12-01 Thread Stephan Richter
I think that "Open Source" really means nothing if people start to use it that way. Check the Open Source Definition, item 6 http://www.opensource.org/osd.html. I completely agree. I think open-source is just becoming a buzz word. People heard it sounds cool, so let's use it! It seems like

[Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-12-01 Thread Andrew Kuchling
On 1 Dec 2000, Brian Lloyd wrote: I think that this perception may be fostered by the fact that the current bug-tracking system (Collector) doesnt really let you see what has been done lately. Unless you happen to see the emails going out on resolution, you really aren't aware of the activity

Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-12-01 Thread Stefan H. Holek
On Fri, 1 Dec 2000, Oleg Broytmann wrote: On Fri, 1 Dec 2000, Stefan H. Holek wrote: Why isn't there a mod_zope module? There certainly are mod_snake and mod_python. Has anybody tried to run Zope with one of those? Zope is a server by itself, it doesn't need to be embedded ito

Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-12-01 Thread Oleg Broytmann
On Fri, 1 Dec 2000, Stefan H. Holek wrote: I (hope I) wasn't implying that Zope _needs_ to be embedded into Apache. ;) I for my part am quite happy with proxypassing. All I wanted to know is whether anybody had tried to run Zope with But these modules does not run p/f-cgi - they run

[Zope] Squishdot base href

2000-12-01 Thread Hanno Schulz
Hi! We got a base href at the first line of every squishdot page! Where does it come from??? And it kill our siteroot at this site. Thanks Hanno Schulz catWorkX GmbH Stresemannstr. 364 22761 Hambug http://www.catworkx.de http://www.catbridge.de Tel.: +49 40 890 646 0 Fax: +49 40 890 646 66

Re: [Zope] ZClasses inheriting property(sheets) : yes/no?

2000-12-01 Thread zope
I've been struggling with this problem myself. In particular I can't get the parent propertysheet management method to appear on the Views method list. Is it necessary that the subclass also be contained in the parent? In my design, there is no containment or acquiring relationship between the

Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-12-01 Thread Andy McKay
But once you have done 5 lines of dtml, and yoo need to add sixth, what is more probable: 1. Rewrite as a pyhtonmethod 2. Just add the sixth line I have the creeping feeling, that dtml is the worst thing since csh. Fortunatly, even DC seems to have realized it. Its a double edged sword,