[Zope-dev] changing/storing Properties with ZPatterns
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()" over the Basic propertysheet,builds the form, and stores the values within another dtml-method edit with: dtml-call "ni.propertysheets.Basic.manage_changeProperties(REQUEST)" 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: dtml-call "ni.propertysheets.Internal.manage_changeProperties(REQUEST,complete='1')" But I don't manage to store retrieve this attribute. All attributes in the Basic propertysheet I can store and retrieve. what is the magic behind this ? Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Allowed Product Changes
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 modifying an existing product? What makes instances break for example? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] changing/storing Properties with ZPatterns
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: dtml-call "ni.propertysheets.Internal.manage_changeProperties(REQUEST,complete='1')" But I don't manage to store retrieve this attribute. All attributes in the Basic propertysheet I can store and retrieve. what is the magic behind this ? Beats me. I know that we use a variety of DataSkin propertysheets in our apps with no problems, although we are not using persistent storage at the present time. What happens when you try to store "complete"? Is it simply not saved, or do you get some kind of error? Have you tried other values? Have you checked your permissions to ensure your code has rights to change the "Internal" sheet? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] CustomizerFolder and the order of things in general
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, ZPattern's Folder w/Customizer Support is giving me headaches. I tracked it down to this code in the CustomizerFolder class: # We want to look like a folder, but with extra tabs after 'Contents' manage_options_left = Folder.manage_options[:1] manage_options_right = Folder.manage_options[1:] So they manage to whack off the original manage_options before I can patch them, sigh. ;) I am not sure about the order of events here. Is there such a thing as product initialization order? Will code like the above always use the "hardwired" attributes of a class definition, and never any hotfixed changes? How about coding style then. What is considered worse, hotfixing or refusing to be hotfixed? ;) Thanks, Stefan -- Things work better when plugged in ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] More ZPatterns confusion
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 PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] changing/storing Properties with ZPatterns
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: dtml-call "ni.propertysheets.Internal.manage_changeProperties(REQUEST,complete='1')" But I don't manage to store retrieve this attribute. All attributes in the Basic propertysheet I can store and retrieve. what is the magic behind this ? Beats me. I know that we use a variety of DataSkin propertysheets in our apps with no problems, although we are not using persistent storage at the present time. What happens when you try to store "complete"? Is it simply not saved, or do you get some kind of error? Have you tried other values? Have you checked your permissions to ensure your code has rights to change the "Internal" sheet? Its just silently ignored, everything in the Basic-sheet is stored correctly, and I set up the Internal sheet exactly as the Basic. I had the suspicion that only the Sheet listed first is used, but if I list it in the Sheet_Names of PersistentSheets it makes no difference. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope] Boring ZClass: request for a ZClass example...
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 editing textarea) I think I understand all the concepts, but I keep getting tripped up by dumb syntax...so I then have to start back at the beginning... thanks tom ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)
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 from them for the above reasons for anything longer than about 5 lines. 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. Zope's built in FTP server is one of it's huge stengths, IMO. He hasn't realised this and so bitches about it. You can always turn it off you know! Likewise the HTTP server, run Zope as a CGI if you must! :P "Apache already exists and is highly flexible and configurable" of course it is, use it if you want, grrr. TMTOWTODI. But cgi is slow. and using mod_proxy is not beatiful and adds latency. Besides, the zserver on 2.1.6 seems to have bugs that sometimes let the page only 90% through. I've really wondered, why all the trouble of using a own HTTP server, Apache is a great HTTP server and most users run it anyway. which leads to the natural question: Why isn't there a mod_zope module? -- Riku Voipio [EMAIL PROTECTED] 09-862 60764 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Custom tpValues for dtml-tree
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 it in the bug collector: http://classic.zope.org:8080/Collector/ cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Help - cannot import zexp
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 the same .py file: def default_render(self, _, alist=None, indent=0): ... Later I deleted the entire folder and tried to import zexp to return to saved position. Zope raise the error: "Cannot import default_render from module __main__". Oops! What's that? The default_render isn't in __main__, sure. I tried to create External Method before importing, but this didn't help :( Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Making lots of external data searchable?
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 text searches. The »old« instance of the web site used Glimpse and a simple CGI script (in Perl) to do this across the whole site (including the mail archive) and ideally this would be what I'm after for the new version as well. However, the mail archive now weighs in at about 45 MB in individual text files (one per message), and I don't really see myself putting this into the ZODB so I can use ZCatalog. ZCatalog, however, looks good for indexing the rest of the site (I haven't done this yet). Is there a reasonable way of interfacing Glimpse with the Zope searching machinery so I could again have one-stop searching of the whole site? (It would probably be straightforward to search just the mail archive by calling out to Glimpse and massaging the results.) Anselm -- Anselm Lingnau . [EMAIL PROTECTED] To those who doom Unix at the hands of NT, well, not this decade, pal. -- Ade Barkah ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)
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 mod_pcgi2 to connect Apache to Zope. /PLUG There is mod_fastcgi also. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] trouble: products created inside Zope, updating from 2.1 to 2.2
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 security model changed from version 2.1 to 2.2. Some HowTos describe the necessary actions to polish up older external products to run them in 2.2 and above. My problem is, that the product we defined via the Web-mechanism inside an older version of zope gets authorization failures. I have absoluteley no idea, where to adjust the security. I tried to create a new product in Zope 2.2.2 and to copy the content from the old to the new one but nothing changed. Being one of the few zope users who wants to use Zope without being a python programmer, I'm a bit lost now. Thanks for your help, Thies Bähr. -- --- Jan-Thies Bähr Intelligent Visualization Simulation DFKI GmbHEmail: [EMAIL PROTECTED] D-67608 Kaiserslautern (Germany) Phone: +49 (0) 631 205-4565 --- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] ZMySQLDA installation problem (fwd)
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 ZMySQLDA installation and I'm having the same exact problem, even with Python 2.0. Have you found a solution yet? If so, could you contact me at [EMAIL PROTECTED] Thanks, Roberto Fernandez -- Forwarded message -- Date: Sat, 04 Nov 2000 11:22:26 -0800 From: Eric Walstad [EMAIL PROTECTED] To: Chris Gray [EMAIL PROTECTED] Subject: RE: [Zope] ZMySQLDA installation problem Hi Chris, I ran into similar errors. Here's the response from Jo Meder that helped me get MySQLDA compiled: Hope it helps! PS, check out the NIP Ltd Mail list archives. They've got a really nice search engine that can help you close in on answers to your questions: http://zope.nipltd.com/public/lists/zope-archive.nsf/$$Search?OpenForm Eric. I have tried everything that I can think of ( a lot of what some of you could think of) to get MySQLdb to compile and install. I have had no luck. [...] OUTPUT OF make # make gcc -fpic -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CO NFIG_H -I/usr/local/mysql/include -I/usr/include/mysql -c ./MySQLmodule.c ./MySQLmodule.c: In function `pythonify_row': ./MySQLmodule.c:238: warning: assignment from incompatible pointer type ./MySQLmodule.c: In function `pythonify_res_fields': ./MySQLmodule.c:384: invalid lvalue in unary `' ./MySQLmodule.c: In function `STH_fetchdict': ./MySQLmodule.c:1125: invalid lvalue in unary `' ./MySQLmodule.c:1147: invalid lvalue in unary `' make: *** [MySQLmodule.o] Error 1 /OUTPUT OF make I suppose line 1125 of mySQLmodule.c is something like: tf = (mysql_fetch_field_direct(self-res,j)); If this is the case, try applying the following patch to your MySQLmodule.c (this is strictly "works for me"): --cut here- 235c235 unsigned int *lengths; --- unsigned long *lengths; 384c384 tf = (mysql_fetch_field_direct(res, i)); --- tf = (mysql_fetch_field_direct(res, i)); 1125c1125 tf = (mysql_fetch_field_direct(self-res,j)); --- tf = (mysql_fetch_field_direct(self-res,j)); 1147c1147 tf = (mysql_fetch_field_direct(self-res,j)); --- tf = (mysql_fetch_field_direct(self-res,j)); -cut here--- HTH. Jo. // -Original Message- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris // Gray // Sent: Saturday, November 04, 2000 10:43 AM // To: [EMAIL PROTECTED] // Subject: [Zope] ZMySQLDA installation problem // // // I'm trying to install ZMySQLDA on Solaris 5.6. Everything seems to be // going fine until make tries to compile the module. Then I get the // following error messages: // // gcc -I/usr/local/mysql/include -I/usr/include/mysql -g -O2 // -I/usr/local/include/python1.5 -I/usr/local/include/python1.5 // -DHAVE_CONFIG_H -c ./MySQLmodule.c // ./MySQLmodule.c: In function `pythonify_row': // ./MySQLmodule.c:238: warning: assignment from incompatible pointer type // ./MySQLmodule.c: In function `pythonify_res_fields': // ./MySQLmodule.c:384: invalid lvalue in unary `' // ./MySQLmodule.c: In function `STH_fetchdict': // ./MySQLmodule.c:1125: invalid lvalue in unary `' // ./MySQLmodule.c:1147: invalid lvalue in unary `' // *** Error code 1 // make: Fatal error: Command failed for target `MySQLmodule.o' // // Anyone know what's going wrong here? // // adTHANKSvance // Chris // // // ___ // Zope maillist - [EMAIL PROTECTED] // http://lists.zope.org/mailman/listinfo/zope // ** No cross posts or HTML encoding! ** // (Related lists - // http://lists.zope.org/mailman/listinfo/zope-announce // http://lists.zope.org/mailman/listinfo/zope-dev ) // ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Status of HiperDom, again ;-) (Re: [Zope] Presentation Object Model)
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 official DOM now for both Zope and Python, so I'd like to tackle that ASAP, but I don't think that will be possible as soon as I'd like it. Note that the 4DOM DOM is *not* the official Zope DOM to be used; it is deemed (amongst other reasons) to be too heavy for Zope use. Zope will, at some point in the future, support *a* DOM Level 2 interface, so as long as you stick to using only API calls that are compiant with that spec you should be fine. Anything will be better than trying to find that ole python-xml release wich still has a 'core.py' file to patch ;) -- Martijn Pieters | Software Engineer mailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] authenticate user
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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] A new Zope Product for the documentation of databases...
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... You will find it at the adress : http://www.zope.org/Members/fquin/ZDBDocManager/index_html If you try it, let me know what you think about this product Frederic Quin Profile For you SARL, France ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] authenticate and Zope 2.2.4
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 appears). Why??And if authenticate it's no longer allowed(the reasons?), which method can you use to check the correctness of a password?? Thanks Sven -- Sent through GMX FreeMail - http://www.gmx.net ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A new Zope Product for the documentation of databases...
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 way. Check the Open Source Definition, item 6 http://www.opensource.org/osd.html. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [ez] Re: [Zope] A new Zope Product for the documentationof databases... of databases...
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 companies companies only release code, so other people will fix it for them Regards, Stephan -- Stephan Richter PlanDepot.com - Senior Application Developer and Technical Project Lead cell: (901) 230-ZOPE (9673) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Why Not Zope? 'Cos I like to bitch! ;-)
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 going on :( Indeed, I wrote this mostly because of the Collector's interface. I'm quite careful to write "it's not apparent to a casual observer whether DC is responsive or not," and do not claim anything about the accuracy of that perception. I've sent in a few patches through the Collector; sometimes the response is quick, sometimes it isn't, either of which can be a reasonable reaction depending on the seriousness of the bug. But it's often not apparent what's going on, at least to an outsider. The SourceForge bug tracking tools make it more apparent what's happening with a bug (or not happening); so does Bugzilla, but Bugzilla seems endlessly overcomplicated in other ways. --amk ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)
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 Apache. 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 mod_python/mod_snake yet. Zope can be (and is) run as [pf]cgi and there are more or less valid reasons to do just that. Experiences anybody? PLUG mode="shameless" There IS mod_pcgi2 to connect Apache to Zope. /PLUG I know there is, and I might even try it one day ;) Regards, Stefan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)
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 python scripts inside Apache. Zope does not need to be run inside Apache. mod_python/mod_snake yet. Zope can be (and is) run as [pf]cgi and there are more or less valid reasons to do just that. These are, actually, the only ways to run Zope :) Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Squishdot base href
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 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZClasses inheriting property(sheets) : yes/no?
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 parent class and the subclass. Jim Washington [EMAIL PROTECTED] writes: If your parent ZClass is constructed properly, you should be able to add the parent class's management tabs by setting a "view". On the "Views" tab, look in the Method list for propertysheets/[ParentClassPropertySheetName]/manage. The properties on that sheet are accessible just like any of the child class's properties. Aaron Straup Cope wrote: Hi, If I create a ZClass that inherits another ZClass, do I also inherit the latter's properties/propertysheet? From what I've read so far, I thought the answer was yes but I can't seem to figure out how to *get* at them. I created a ZClass called "Foo" that inherits a ZClass named "Meta". Meta had two properties : author and title but neither appear to be set when I create a new Foo object. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)
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, DC started out with the quite correct and honorable intention of making DTML simply a templating, layout language, that did little or no complicated logic. But as people use Zope more, its popularity has grown by people wanting to do more and more in DTML, things like the sendmail tag, try etc. Whilst these are good they just seem to me to pervert what DTML is all about... Many people's initial reaction is that through DTML, ZClasses, PythonMethods everything can be done TTW. Once in that mind set it can be difficult to "escape" to python. But if they could just change sequence-item to sequence_item :) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )