Re: [Zope-dev] http access to svn repos?
Jim Fulton wrote: Not in principle. In fact, I would find it convenient for a particular project. I doubt that anyone with access to that machine has time, \ although I can only speak for myself. If I could get access, I'd make time ;-) I think I used to have it, and I may well still do, but I've forgotten what user I should sudo su - to in order to be able to do stuff with Apache... What should I be trying? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: http access to svn repos?
Jim Fulton wrote: At one point, enabling the 'http:' checkout gateway was a sure-fire recipe for getting SVN's knickers in a twist, which is why we disabled it. Or maybe that was ViewCSV. Actually, it was BekeleyDB. :) And Jens has fixed that now, iirc? The main obstical was that it required apache 2 and, at the time we were running apache 1 and I didn't want to spend the time figuring out the apache access. Is cvs.zope.org still running Apache 1? I would support HTTP anonymous checkouts. I'm really against writable HTTP checkouts because I consider the credentials mechanism for HTTP access to be extremely lame. Can you elaborate a little? I'm guessing you may mean that the subversion client has a propensity for storing cleartext passwords but is there anything else? lame program for uploading keys, I find the ssh-based access mechanism to be far more usable and secure. Secure, maybe, but is it really worth it? Usable? Don't agree, especially if you're trying to develop on Windows... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] Re: http access to svn repos?
Chris quoting Jim: lame program for uploading keys, I find the ssh-based access mechanism to be far more usable and secure. Secure, maybe, but is it really worth it? Usable? Don't agree, especially if you're trying to develop on Windows... As a data-point, for the last year or 2, I've had good success with putty's ssh2 keys on Windows. And quoting out-of-order, Jim wrote: I would support HTTP anonymous checkouts. I'm really against writable HTTP checkouts because I consider the credentials mechanism for HTTP access to be extremely lame. whether SVN or not, I'm guessing any use of HTTP basic authentication mechanism qualifies as extremely lame! I've no idea if this is what Jim meant though :) Cheers, Mark ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: http access to svn repos?
Mark Hammond schrieb: Chris quoting Jim: ... I would support HTTP anonymous checkouts. I'm really against writable HTTP checkouts because I consider the credentials mechanism for HTTP access to be extremely lame. whether SVN or not, I'm guessing any use of HTTP basic authentication mechanism qualifies as extremely lame! I've no idea if this is what Jim meant though :) Well, I hope ;) he meant client certificates. This is doable but a bit of work for the certificate people to issue one to the user in addition to the ssh-pubkey stuff. Not actually quite in line w/ what you should do as a CA but possible and not more insecure then current ssh-pubkey auth would be a script which can be run with the ssh-useraccount and produces/registeres a given client certificate for that user. Something like: ssh cert.zope.org generate mycert.csr when your ssh-pubkey is set up. And likewise ssh cert.zope.org retract mycurrentcert.csr to disable a given client certificate. Just some mad ideas... Regards Tino PS: there is no need to have an official CA, any private setup would do. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] [Zope2] ZODB load optimization ineffective due to ExtensionClass flaw
The ZODB allows to include the class (a reference to it) into persistent references in order to avoid loading the object state when a ghost object needs to be created for the persistent reference. For this to work, the class must not require arguments to __new__. The ZODB checks whether the class defines a __getnewargs__ method. It it does, the ZODB concludes that its __new__ might need arguments and does not try to optimize. Unfortunately, ExtensionClass.Base defines __getnewargs__. It is the base class for all Zope2 classes. Zope2 persistent references are not optimized... An analysis of our application revealed that the missed optimization opportunity increases the amount of storage loads by a factor of 4 to 5. Storage loads are often the dominating factor -- especially for searches. @Jim: Is the __getnewargs__ definition in ExtensionClass.Base vital? It returns the empty tuple. Thus, there seems to be a chance to get rid of it. I know that some code (especially in ExtensionClass/picke/pickle.c) needs to be changed as it depends on the existence of __getnewargs__. If you think, there is a chance to get rid of __getnewargs__, I can do the work and put the changes into the collector. Zope2 might become a bit faster... -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: http access to svn repos?
Mark Hammond wrote: Chris quoting Jim: ... whether SVN or not, I'm guessing any use of HTTP basic authentication mechanism qualifies as extremely lame! I've no idea if this is what Jim meant though :) OK, for those not familiar with svn/HTTP authentication, as I understand it you have to authenticate for each session and your credentials are cached in clear text in your home directory. The storage of clear-text credentials is obviously lame, as is the necessity to provide then for each svn session. With the current ssh-based mechanism, I authenicate once when I log into my machine and don't have to authenticate again for the remainder of that OS session, during which I can log into many remote machines and access many different Subversion and CVS repositories without having to reenter credentials. I find this to be a major convenience. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope2] ZODB load optimization ineffective due to ExtensionClass flaw
Dieter Maurer wrote: The ZODB allows to include the class (a reference to it) into persistent references in order to avoid loading the object state when a ghost object needs to be created for the persistent reference. For this to work, the class must not require arguments to __new__. The ZODB checks whether the class defines a __getnewargs__ method. It it does, the ZODB concludes that its __new__ might need arguments and does not try to optimize. Unfortunately, ExtensionClass.Base defines __getnewargs__. It is the base class for all Zope2 classes. Zope2 persistent references are not optimized... An analysis of our application revealed that the missed optimization opportunity increases the amount of storage loads by a factor of 4 to 5. Storage loads are often the dominating factor -- especially for searches. @Jim: Is the __getnewargs__ definition in ExtensionClass.Base vital? It returns the empty tuple. Thus, there seems to be a chance to get rid of it. I know that some code (especially in ExtensionClass/picke/pickle.c) needs to be changed as it depends on the existence of __getnewargs__. If you think, there is a chance to get rid of __getnewargs__, I can do the work and put the changes into the collector. Zope2 might become a bit faster... I'd have to review this, but I'm pretty sure that we dealt with this issue, but I could be mistaken. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [ZWeb] testimonials
For the middle content well of version 3 i thought it would be nice to have some catchy testimonials somewhere. I remember seeing somewhere Zope is what Cold Fusion wants to be. In a marketing sense, these quick little blurbs can be very effective. Can anyone else think of testimonials like this or get some more? Please include the speakers name if possible, but don't sweat it if you can't. I've been working on some Zope 3 marketing text, but haven't finished and haven't figured out where to put it. It contains some long quoted testimonials which I imagined might go on the sidebar alongside an FAQ. This could be a subject-oriented FAQ in which one of the categories would be something like Zope 3 is not your daddy's Zope, or Forget What You Learned About Zope 2...I don't know...it's still at a brainstorming stage... Here's what I have so far (thanks to Michael Bernstein at the recent sprint for some of his suggested words). Q: I'm not a fan of Zope 2. Newer frameworks such as Turbogears and Django seem much more Pythonic. Why should I look at Zope 3? A: Zope 3 is a complete rethink with a component-based architecture. Legacy limitations and shortcomings have been removed. You'll find it worthwhile to to take a little time to learn about the benefits of leveraging the years of development and real world experience that grew into Zope 3. Zope 3 scales both up and down. It's usable for small, simple websites, as well as huge complex enterprise applications and content management systems. Django and Turbogears currently still have an advantage when it comes to rapid development of straightforward web-applications, but Zope 3's small additional learning curve at the entry-level quickly repays itself when your needs become more complex or when you need to reuse components for other apps. In addition to the usual feature set of web app frameworks, Zope 3 has a few important extras: Object Database (ZODB): no need for ORM; no impedance mismatch mapping from RDBM to classes and objects. You can still use SQL if you prefer. Interfaces and Adapters: glue together loose collections of components Internationalization (i18n) and localization (l10n): Convenient support for multiple languages Extensive testing support Thousands of internal tests that are run by core developers Testing features to run against your own web app Deprecation Model Allows graceful retirement of old APIs as the Zope evolves Strong Configuration Model ZCML is a simple and powerful XML dialect for enabling/disabling features for a Zope 3 instance Security Model Pluggable Authentication (LDAP, etc.) Authorization controls for various parts of your app, based on roles or individual users Btw, Zope 2 doesn't necessarily suck anymore. It's the most widely deployed Python web framework, with many large scale successful web applications in use today. Professional Zope 2 developers generally avoid problematic DTML designs and don't do through the web (TTW) development anymore. Also, Zope 2 developers increasingly use the FIVE interface to utilize Zope 3 features inside the Zope 2 environment, as a prelude to forward migration. Q: Ok, tell me more about this component architecture idea. A: Here is a quote from Stephan Richter, author of the Zope 3 Developer's Guide: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= When the Component Architecture for Zope was first thought about, it was intended as an extension to Zope 2, not a replacement as it developed to become. The issue was that the existing Zope 2 API was too bloated and inconsistent, due to constant feature additions, bug fixes and coding inconsistencies. The extremely bad practice of monkey patching became a normality among developers to overcome the limitations of the API and fix bugs. Monkey patching is a method of overwriting library functions and class methods after importing them, which is a powerful, but dangerous, side effect of loosely-typed scripting languages. Another motivation was to incorporate the lessons learned from consulting jobs and building large Web applications, which demonstrated the practical limits of simple object inheritance. The need for a more loosely-connected architecture arose with many objects having rather tiny interfaces in contrast to Zope 2's few, large objects. This type of framework would also drastically reduce the learning curve, since a developer would need to learn fewer APIs to accomplish a given task. All these requirements pointed to a component-oriented framework that is now known as the Component Architecture of Zope 3. Many large software projects have already turned to component-based systems. Some of the better-known projects include: * COM (Microsoft's
Re: [Zope] TAL tutorial
(Tue, Mar 07, 2006 at 12:00:05PM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse: From: John Poltorak [EMAIL PROTECTED] Subject: [Zope] TAL tutorial Can anyone point me to a good TAL tutorial for people who have difficulty getting to grips with it? Assuming you have read and practiced the 2 chapters on ZPT in the Zope book I would also recommend peterbe's DTML2ZPT Conversion examples, even if you have never done DTML, these are a collection of common code snippets: http://www.zope.org/Members/peterbe/DTML2ZPT After that keep in mind that anything complicated enough to need python: in a TAL statement should likely be moved out to a python method. (That could be either a python script through the ZMI, or even better a method of your filesystem based python product.) The results of the python method can then be placed in the option space and accessed very easily from the ZPT. A common usage scheme is to always call the python method through the web, which assembles all needed data and then returns the ZPT with the data as parameters. Have fun! Regards, Sascha ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Need Urgent Help
Andrew Milton wrote: +---[ Andreas Jung ]-- | | But learn to post before posting again. | Subjects like need urgent help + cross-postings are the first step | for a consultant to throw such a posting into the trashcan. Actually we rub our hands together and triple our rate d8) LOL! -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help needed to simplify some code
John Poltorak wrote: Several months ago someone provided me with me with some sample code which did exactly what I wanted, but looking at it again it looks a little unwieldy and could do with tidying up. It consists of:- span tal:define=opts python:here.lib.parse_file(file=here.news,sepr=',',clone=1) tal:block repeat=opt opts lia tal:content=python:opt[1] tal:attributes=href python:'news_items/' + opt[0]/a/li /tal:block /span Okay, if you can get parse_file to return a list of dictionaries like: [ { 'folder':'whatever', 'label':'whatever', } ] ...then you can do: span tal:define=opts python:here.lib.parse_file(file=here.news,sepr=',',clone=1) li repeat=opt opts a tal:content=python:opt/label tal:attributes=href string:news_items/${opt/folder}/ /li /span cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] repozo.py
Dennis Allison wrote: I assume that the they are backward compatible and that the repozo.py shipped with Zope 2.9.0 is compatible with all variations of the Data.fs format. I would play it safe and use the repozo.py appropriate for each version of Zope you're using to drive each ZEO server... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Need Urgent Help
Andrew Milton wrote: | haha...do you have the need to accept any customer? :-) No, but, you can't just turn them away either d8) Yeah, but I'm sure we'd all need customers like him about as much as a hole in the head made with a rusty cork-screw ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] searching free hosting
Hi! I'm looking for a free hosting service to publish my homepage. Freezope.org seems to be unavailable (registration form does not load). Anyone knows another site/service like freezope? Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax+39 - 0871- 571594 Email [EMAIL PROTECTED] Indirizzo Viale B. Croce 573 66013 Chieti Scalo (CH) GNU/Linux registered user #400424 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] repozo.py
[Dennis Allison] We are (finally) moving to repozo for our backups. We are running a mixed collection of Zopes -- mostly Zope 2.7.6, Zope 2.8.X and Zope 2.9.0. For the near term we cannot move to a single release. There are differences between the versions of repozo distributed with the different Zope systems. I assume that the they are backward compatible and that the repozo.py shipped with Zope 2.9.0 is compatible with all variations of the Data.fs format. [Chris Withers] I would play it safe and use the repozo.py appropriate for each version of Zope you're using to drive each ZEO server... It's probably safest to use the most recent version of repozo with all: repozo hasn't grown new features, but it has gotten bugfixes, and pretty much regardless of the software in question the most recent release is the one most likely to contain all bugfixes to date. repozo in particular doesn't know anything about the _structure_ of a Data.fs file (it works by copying bytes -- doesn't know anything about transactions or objects), so it wouldn't be possible for repozo to be incompatible across ZODB releases even if the Data.fs format had changed (which it hasn't). ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] question: upload files to folder AND database
hello, is it possible to upload files in plone, using a form (like the form in plonelocalfolderNG) AND sending a url to that file + additional information to a database using popy connection? I can upload files using plonelocalfolderNG, but I can't send any more info with it. + I need to sort them, so I need some more info (like category, author, ...) in a database to perform my sql on. also, I want to let users upload using a form, not with the add tab button. I tried watching the plonelocalfolderNG code, and making my own, but I can't get it to work. thanx in advance, Olivier ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] question: upload files to folder AND database
+---[ Olivier Wambacq ]-- | hello, | | is it possible to upload files in plone, using a form (like the form in | plonelocalfolderNG) AND sending a url to that file + additional information | to a database using popy connection? | | I can upload files using plonelocalfolderNG, but I can't send any more info | with it. + I need to sort them, so I need some more info (like category, | author, ...) in a database to perform my sql on. | | also, I want to let users upload using a form, not with the add tab button. | | I tried watching the plonelocalfolderNG code, and making my own, but I can't | get it to work. Post to a python script that first sends it to your db storage script, and then on to plonelocalfolderNG -- Andrew Milton [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Managed Server
If you want your own 'dedicated' server it would probably be cheaper to get your own machine, load configure zope to your specifications and then use a standard co-location ISP. This will be easier/cheaper to set-up/operate than trying to find a zope ISP who will rent you a dedicated box. Jonathan - Original Message - From: Dan Gaibel [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, March 07, 2006 9:28 PM Subject: [Zope] Zope Managed Server Hello Folks, I'm interested in finding a company that will do monthly managed zope hosting. We're looking for a dedicated machine. I know that Zope Corp does this and it is quite expensive. I wonder if anyone has had any experiences with such a service. Any advice is highly appreciated, and I apologize if this list is an inappropriate venue to pose such a question. Thanks! Dan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] How to search doc about acl permissions Zope?
Hi, I´m trying to develop a product to control my own folders, users , roles and then i need to known how to interact with acl permissions of zope. I´ve looked the Zope API and i think have to use BasicUserFolder and UserFolder but i don´t found a document to explain this. The zope book and the developer guide don´t speak about. thanks ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Redirect Exception and Five
Hi again, I reply to myself, just for the case that this can help somebody in the future Finally I've found the problem was the directive five:defaultViewable, that enters in conflict with the Redirect exception raised from PluggableAuthFolder in its before_publishing_traverse_hook. Removing five:defaultViewable and leaving default page in Zope 2 mode (index_html), all works fine. Regards -- Santi Camps Earcon S.L. - http://www.earcon.com - http://www.kmkey.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] searching free hosting
I'm looking for a free hosting service to publish my homepage. Freezope.org seems to be unavailable (registration form does not load). Anyone knows another site/service like freezope? Check http://objectis.net/ -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] DTML-In with filter
Hello, Is it possible to use a DTML-In to display all DTML Documents in a folder exept the one's with a centain value in a property ? Example. DTML Documentone with property a=bc DTML Document two with property a=de DTML Documentthree with property a=bc Now I want to use DTML-IN to display all the dtml documents except the ones with property a=de. I also use the size and batchsize property to create links to the next 10 documents. If I use an if statementthe next 10can be 9 ore less9items because there could beone ore more documents with a=de. Who can help me ? regards, Martin Koekenberg ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] DTML-In with filter
Martin Koekenberg schrieb: Hello, Is it possible to use a DTML-In to display all DTML Documents in a folder exept the one's with a centain value in a property ? Example. DTML Document one with property a=bc DTML Document two with property a=de DTML Document three with property a=bc Now I want to use DTML-IN to display all the dtml documents except the ones with property a=de. I also use the size and batchsize property to create links to the next 10 documents. If I use an if statement the next 10 can be 9 ore less 9 items because there could be one ore more documents with a=de. Just drop this DTML... or at least get help from python: return [doc for doc in context.objectValues('DTML Document') if doc.getProperty('a')!='de'] (python script or the like would be your friend - also it makes it possible to replace the quite costy objectValues() call with ZCatalog query w/o changing your presentation code) Regards Tino ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] DTML-In with filter
+---[ Martin Koekenberg ]-- | Hello, | | Is it possible to use a DTML-In to display all DTML Documents in a folder exept | the one's with a centain value in a property ? | | Example. | | DTML Document one with property a=bc | DTML Document two with property a=de | DTML Document three with property a=bc | | Now I want to use DTML-IN to display all the dtml documents except the ones | with property a=de. | I also use the size and batchsize property to create links to the next 10 | documents. If I use an if statement the next 10 can be 9 ore less 9 items | because there could be one ore more documents with a=de. | | Who can help me ? Pseudo-code (dtml-like) dtml-in someListOfThings dtml-with thecurrentitem dtml-unless a=='de' dtml-var thecurrentitem /dtml-unless /dtml-with /dtml-in Or you could write a python script that filtered out the ones you wanted and call the python script to return the list of things to display, which is probably a much better idea. -- Andrew Milton [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] dtml result in href
another question. when I create a link with a filename and url from a database. I do it like this: a href=span tal:conent=result/urlurl goes here/span span tal:conent=result/filenamefilename goes here/span /a this results in a link named as the true filename for ex: filename.txt but the link sends me to mysite/span tal:conent=result/urlurl goes here/span instead of: mysite/subdir/filename.txt is there another way or another syntax to put de dtml in the href? thanks, Olivier ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml result in href
+---[ Olivier Wambacq ]-- | another question. | | when I create a link with a filename and url from a database. | I do it like this: | | a href=span tal:conent=result/urlurl goes here/span | span tal:conent=result/filenamefilename goes here/span | /a This is DTML or a ZPT ? for a ZPT its; a tal:attributes=href result/url tal:content=result/filenamefile/a for DTML it would be; a href=dtml-var result.url etc -- Andrew Milton [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Foundation list reminder
Hello everyone! We intend to post news about the Zope Foundation and some process mechanics in the very near future. This note is to remind people of the mailing list [1] for foundation-related topics. Thanks. Regards, Rob [1] http://mail.zope.org/mailman/admin/foundation/ -- Rob Page V: 540 361 1710 Zope Corporation F: 703 995 0412 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Upgrading to Zope 2.9.1
I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same one that the 2.8.4 system is running but I changed the config so the ports don't conflict). The installation is successful 2) Copy the Product directory from my functioning 2.8.4 system instance to the 2.9.1 instance 3) copy the ZODB from the functioning 2.8.4 system to the 2.9.1 system All appears to go well -- the 2.9.1 system appears to be running everything from the 2.8.4 system correctly. A deeper check though shows that a few Python scripts in the ZODB (this in a system that has 20 or 30 scripts) fail. Examining the scripts indicates an error at line 3 -- but no such error can be found, however saving the script with no changes eliminates the error and also causes the script to now function. After finding and correcting these scripts everything seems to be working well. Any idea what happened during the upgrade to cause this strange behaviour and how can I avoid it? I will have to go through a similar upgrade at a customer's site and would like to avoid hand checking every script if I can avoid it. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Bad foundation mailing list pointer
Apologies!! I sent the admin URL. For your convenience the real URL (while not hard to figure out :^) is below: http://mail.zope.org/mailman/listinfo/foundation -- Rob Page V: 540 361 1710 Zope Corporation F: 703 995 0412 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Upgrading to Zope 2.9.1
Hi, On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same one that the 2.8.4 system is running but I changed the config so the ports don't conflict). The installation is successful 2) Copy the Product directory from my functioning 2.8.4 system instance to the 2.9.1 instance 3) copy the ZODB from the functioning 2.8.4 system to the 2.9.1 system All appears to go well -- the 2.9.1 system appears to be running everything from the 2.8.4 system correctly. A deeper check though shows that a few Python scripts in the ZODB (this in a system that has 20 or 30 scripts) fail. Examining the scripts indicates an error at line 3 -- but no such error can be found, however saving the script with no changes eliminates the error and also causes the script to now function. After finding and correcting these scripts everything seems to be working well. Any idea what happened during the upgrade to cause this strange behaviour and how can I avoid it? I will have to go through a similar upgrade at a customer's site and would like to avoid hand checking every script if I can avoid it. I had the same problem : Windows CR/LF line endings are not supported anymore for PythonScripts. According to Dieter Maurer, it has to do with Python 2.4 rather than Zope 2.9. Regards, Patrick. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Upgrading to Zope 2.9.1
On 3/8/06, Patrick Decat [EMAIL PROTECTED] wrote: Hi, On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same one that the 2.8.4 system is running but I changed the config so the ports don't conflict). The installation is successful 2) Copy the Product directory from my functioning 2.8.4 system instance to the 2.9.1 instance 3) copy the ZODB from the functioning 2.8.4 system to the 2.9.1 system All appears to go well -- the 2.9.1 system appears to be running everything from the 2.8.4 system correctly. A deeper check though shows that a few Python scripts in the ZODB (this in a system that has 20 or 30 scripts) fail. Examining the scripts indicates an error at line 3 -- but no such error can be found, however saving the script with no changes eliminates the error and also causes the script to now function. After finding and correcting these scripts everything seems to be working well. Any idea what happened during the upgrade to cause this strange behaviour and how can I avoid it? I will have to go through a similar upgrade at a customer's site and would like to avoid hand checking every script if I can avoid it. I had the same problem : Windows CR/LF line endings are not supported anymore for PythonScripts. According to Dieter Maurer, it has to do with Python 2.4 rather than Zope 2.9. OK -- sounds like a plausible explanation. Any idea how to predict when this is going to be a problem? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help needed to simplify some code
On Wed, Mar 08, 2006 at 09:35:55AM +, Chris Withers wrote: John Poltorak wrote: Several months ago someone provided me with me with some sample code which did exactly what I wanted, but looking at it again it looks a little unwieldy and could do with tidying up. It consists of:- (snip) What Chris said, except: ...then you can do: span tal:define=opts python:here.lib.parse_file(file=here.news,sepr=',',clone=1) li repeat=opt opts a tal:content=python:opt/label ^^^ Leave out the python: there. -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to search doc about acl permissions Zope?
José Carlos Senciales wrote at 2006-3-8 13:30 +0100: ... I´m trying to develop a product to control my own folders, users , roles and then i need to known how to interact with acl permissions of zope. Please read the Zope Book (2.7 edition, online) and the Zope Developper Guide (online on zope.org). Come back when you then have more concrete questions. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] manage_pasteObjects question
Palermo, Tom wrote at 2006-3-7 16:13 -0500: I am trying to do a manage_cutObjects in one script and then a manage_pasteObjects. Usually, this looks like: obj_info = XXX.manage_cutObjects(...) YYY.manage_pasteObjects(obj_info) When I execute this line from my pasteObjects python script: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req[ '__cp']) Do not know, why in hell you pass in a crippled request... You should be aware that req['__cp'] is not a request object... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Upgrading best practices
Is there somewhere a general guide to upgrading existing Zope systems to newer versions? I realize that there are special cases but I am looking for a general best practices guide. It seems that there is lots of information with each release on installation from scratch but very little solid information that I could find on upgrading. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] manage_pasteObjects question
I'm trying to do the cut in one script and the paste in another script. It's my understanding that REQUEST is an optional parameter to manage_cutObjects(). Passing REQUEST will set a cookie, __cp. __cp is the clipboard data. Later when I try to do manage_pasteObjects() from another script, I always get a cookie data is truncated message regardless of how I try to pass in the clipboard data. I should be able to just do: context.manage_pasteObjects(context.cb_dataItems()) That doesn't work. I still get the cookie data is truncated message. I get the same message if I do: context.manage_pasteObjects(context.REQUEST) I know that there are, in fact, objects on the clipboard because I can just do: print context.cb_dataItems() return printed I'm not sure what I'm doing wrong. It seems like you can have cut and paste happen in separate scripts. Is that not true? Thanks, Tom -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 2:07 PM To: Palermo, Tom Cc: 'zope@zope.org' Subject: Re: [Zope] manage_pasteObjects question Palermo, Tom wrote at 2006-3-7 16:13 -0500: I am trying to do a manage_cutObjects in one script and then a manage_pasteObjects. Usually, this looks like: obj_info = XXX.manage_cutObjects(...) YYY.manage_pasteObjects(obj_info) When I execute this line from my pasteObjects python script: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST =req[ '__cp']) Do not know, why in hell you pass in a crippled request... You should be aware that req['__cp'] is not a request object... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Upgrading best practices
On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: Is there somewhere a general guide to upgrading existing Zope systems to newer versions? I realize that there are special cases but I am looking for a general best practices guide. 1. Install the new version in a new directory together with all products you use. 2. Copy the old ZODB to the new instance. 3. Do whatever needed for your products to upgrade. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Upgrading best practices
When I do this ( with my very simple zope systems), I always do a test-migration before THE migration. Basically: If all looks well, we are Go for Migration. In short, I do it like this (not using zeo): check with google, bugcollectors mailinglists if your new zope version may expose you to unwanted issues. For some reason, I forget this important part, and get punished by it. Install new zope-engine. generate new instance where the migrated system will live. copy etc/ Imports/ Extensions/ Products/ to the new instance. copy Data.fs ensure the new instnace is running on different port-number than the old one (for the test-run). remember that some products may have hard-coded paths. change them. testrun of your new zope. Check features, check logs. remember to change your apache config files also (or other webserver) This is the short version of how I do things. On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: Is there somewhere a general guide to upgrading existing Zope systemsto newer versions? I realize that there are special cases but I amlooking for a general best practices guide.It seems that there is lots of information with each release on installation from scratch but very little solid information that Icould find on upgrading.___Zope maillist-Zope@zope.org http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )-- -- Einar Næss Jensenhttp://einar.nidelven-it.no/einarbloghttp://www.homemade.notlf: +47 90990249(\__/)(='.'=)This is Bunny. Copy and paste bunny into your ()_()signature to help him gain world domination. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] manage_pasteObjects question
Palermo, Tom wrote: I'm trying to do the cut in one script and the paste in another script. It's my understanding that REQUEST is an optional parameter to manage_cutObjects(). Passing REQUEST will set a cookie, __cp. __cp is the clipboard data. Later when I try to do manage_pasteObjects() from another script, I always get a "cookie data is truncated" message regardless of how I try to pass in the clipboard data. I should be able to just do: context.manage_pasteObjects(context.cb_dataItems()) That doesn't work. I still get the "cookie data is truncated" message. I get the same message if I do: context.manage_pasteObjects(context.REQUEST) I know that there are, in fact, objects on the clipboard because I can just do: print context.cb_dataItems() return printed I'm not sure what I'm doing wrong. It seems like you can have cut and paste happen in separate scripts. Is that not true? Thanks, Tom -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 08, 2006 2:07 PM To: Palermo, Tom Cc: 'zope@zope.org' Subject: Re: [Zope] manage_pasteObjects question Palermo, Tom wrote at 2006-3-7 16:13 -0500: I am trying to do a manage_cutObjects in one script and then a manage_pasteObjects. Usually, this looks like: obj_info = XXX.manage_cutObjects(...) YYY.manage_pasteObjects(obj_info) When I execute this line from my pasteObjects python script: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST =req[ '__cp']) Do not know, why in hell you pass in a crippled request... You should be aware that "req['__cp']" is not a request object... -- Dieter __ Tom, You didnt respond to Dieter's remarks so its unclear where to go with this. You coded: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req['__cp']) What is the last parameter doing? REQUEST=req['__cp'] ? The manage_pastObjects expects a REQUEST object, e.g. REQUEST=context.REQUEST. Did you try this? David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] manage_pasteObjects question
Hi David, In my last post, I wrote that I tried calling manage_pasteObjects a variety of ways: context.manage_pasteObjects(context.REQUEST) context.manage_pasteObjects(context.cb_dataItems()) as well as the original: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req['__cp']) All 3 of these attemps results in the eInvalid exception gettting raised by manage_pasteObjects( ). req['__cp'] is a reference to the cookie that gets set when you place something on the clipboard. I was trying to grab a specific piece of the REQUEST instead of the whole thing. Does context.manage_pasteObjects(context.REQUEST) need to be written as: context.manage_pasteObjects(REQUEST=context.REQUEST)? It's kind of a moot point now anyway. I'm using some SESSION variables now to store the ids of te objects I want to cut and the path of their container so I can do the cut and paste from a single script. Not sure if this is good or not but it's working for me now. It's one of those times when I just need something to work. -Tom From: David [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 6:12 PMTo: Palermo, TomCc: 'Dieter Maurer'; 'zope@zope.org'Subject: Re: [Zope] manage_pasteObjects question Palermo, Tom wrote: I'm trying to do the cut in one script and the paste in another script. It's my understanding that REQUEST is an optional parameter to manage_cutObjects(). Passing REQUEST will set a cookie, __cp. __cp is the clipboard data. Later when I try to do manage_pasteObjects() from another script, I always get a "cookie data is truncated" message regardless of how I try to pass in the clipboard data. I should be able to just do: context.manage_pasteObjects(context.cb_dataItems()) That doesn't work. I still get the "cookie data is truncated" message. I get the same message if I do: context.manage_pasteObjects(context.REQUEST) I know that there are, in fact, objects on the clipboard because I can just do: print context.cb_dataItems() return printed I'm not sure what I'm doing wrong. It seems like you can have cut and paste happen in separate scripts. Is that not true? Thanks, Tom -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 08, 2006 2:07 PM To: Palermo, Tom Cc: 'zope@zope.org' Subject: Re: [Zope] manage_pasteObjects question Palermo, Tom wrote at 2006-3-7 16:13 -0500: I am trying to do a manage_cutObjects in one script and then a manage_pasteObjects. Usually, this looks like: obj_info = XXX.manage_cutObjects(...) YYY.manage_pasteObjects(obj_info) When I execute this line from my pasteObjects python script: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST =req[ '__cp']) Do not know, why in hell you pass in a crippled request... You should be aware that "req['__cp']" is not a request object... -- Dieter __Tom,You didnt respond to Dieter's remarks so its unclear where to go with this.You coded: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req['__cp'])What is the last parameter doing? REQUEST=req['__cp'] ? The manage_pastObjects expects a REQUEST object, e.g. REQUEST=context.REQUEST.Did you try this? David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Upgrading best practices
On 3/8/06, Lennart Regebro [EMAIL PROTECTED] wrote: On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: Is there somewhere a general guide to upgrading existing Zope systems to newer versions? I realize that there are special cases but I am looking for a general best practices guide. 1. Install the new version in a new directory together with all products you use. 2. Copy the old ZODB to the new instance. 3. Do whatever needed for your products to upgrade. That is essentially what I have done -- I just hadn't seen any strategy written down and thought maybe there might be more to it. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] manage_pasteObjects question
Palermo, Tom wrote: Hi David, In my last post, I wrote that I tried calling manage_pasteObjects a variety of ways: context.manage_pasteObjects(context.REQUEST) context.manage_pasteObjects(context.cb_dataItems()) as well as the original: context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req['__cp']) All 3 of these attemps results in the eInvalid exception gettting raised by manage_pasteObjects( ). req['__cp'] is a reference to the cookie that gets set when you place something on the clipboard. I was trying to grab a specific piece of the REQUEST instead of the whole thing. Does context.manage_pasteObjects(context.REQUEST) need to be written as: context.manage_pasteObjects(REQUEST=context.REQUEST)? It's kind of a moot point now anyway. I'm using some SESSION variables now to store the ids of te objects I want to cut and the path of their container so I can do the cut and paste from a single script. Not sure if this is good or not but it's working for me now. It's one of those times when I just need something to work. -Tom Hi Tom, I'm glad you found 'another way' but in the interest of no one I wish to add the following. These methods: manage_copyObjects, manage_cutObjects and manage_pasteObjects should be reviewed in /OFS/CopySupport.py - because the current docs do not describe them well. For example, the copy method works differently depending on whether you just pass the container's Ids or pass the Ids *and* the REQUEST. No reason to beat a dead horse but of the 3 tries you listed only the first can (but conditionally) work: context.manage_pasteObjects(context.REQUEST) But *only* if you first called manage_copyObjects (or manage_cutObject) with the REQUEST as a parameter included (only then does REQUEST get the __cp object) Your second try: context.manage_pasteObjects(context.cb_dataItems()) Is wrong because it is passing a list of items in the clip board instead of the the encoded copy object (returned by manage_copyObjects) that "manage_pasteObjects" expects Your last try is wrong because both parameters are incorrect. :-) All best, David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] call htmlformuploadfile from dtml method
hello, in plonelocalfolderNG you have the htmlformuploadfile method, that is called in the form action. but I needed to save everything in a db also, so I called a dtml method in the form action. whitch first calls the db-store scripting, and then the htmlformuploadfile. everything is stored well in the db now, but now I don't know how to call the htmlformuploadfile from this script. I tried some things like: dtml-var htmlformuploadfile or dtml-var http://../htmlformuploadfile also tried using dtml-call ... but nothing seems to work, he always says htmlformuploadfile doesn't exist. I tought I just had to call the same thing as in the action argument, but how do I know how to call it when I call it from a dtml method instead? thanks in advance Olivier ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )