[Zope-dev] Zope Tests: 9 OK
Summary of messages to the zope-tests list. Period Mon Nov 6 11:00:02 2006 UTC to Tue Nov 7 11:00:02 2006 UTC. There were 9 messages: 9 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:23:17 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006494.html Subject: OK : Zope-2.6 Python-2.3.5 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:24:47 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006495.html Subject: OK : Zope-2.7 Python-2.3.5 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:26:17 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006496.html Subject: OK : Zope-2.7 Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:27:47 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006497.html Subject: OK : Zope-2.8 Python-2.3.5 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:29:17 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006498.html Subject: OK : Zope-2.8 Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:30:48 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006499.html Subject: OK : Zope-2.9 Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:32:18 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006500.html Subject: OK : Zope-2.10 Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:33:48 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006501.html Subject: OK : Zope-trunk Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Nov 6 21:35:18 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006502.html ___ 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 )
[ZWeb] Re: FAQ writing tips (Re: combining all zope2 FAQs into one big one at wiki.zope., org/zope2)
cc'ing from zope list: PS, here's a word of warning to FAQ writers from my own experience, a trap to avoid: You start writing answers for questions - it's so easy and tempting - later you find better answers out on the web, even elsewhere in the same wiki, but now you have a big, verbose body of duplicated docs that's too good to throw away but not quite valuable enough to attract a lot of maintenance. Result: stagnation. How to avoid this ? Maybe keeping these goals in mind will help: - research, link, gather, consolidate docs first; write new ones as last resort - keep answers in the faq short and to the point, link to best detailed docs elsewhere - avoid unnecessary duplication. Use the contents link to see what's in the zope2 and other zope wikis. Refactor the wiki content aggressively when appropriate. Also, long wiki pages are less fun to edit than short ones, use an external editor for FAQ work to avoid this pain. Emacs users, try rst-mode.el. -Simon ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
Re: [Zope] How To Convert Files To Page Templates?
Nancy Donnelly wrote: Hi; I'm redoing a bunch of documents on a Zope site on my PC and I realized it would be easier to simply delete all the old ones and upload all the new ones. But if I do that, they'll load as files, not page templates. How are you creating these new objects? I'd hazard a guess that you're looking to create a PUT_factory so that objects of the correct type are created when you upload things via FTP or WebDAV... 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 )
[Zope] China wholesale market, China wholesale center, China buying trip to china wholesale market
Googoo China Holding Ltd ( http://www.googoochina.com ) is an internationally recognized provider of furniture, fixture and equipment (FFE) procurement services that act as a professional sourcing agents, buying agents, buyer's representativeand hotel FFE purchasing agents. We specialize in residential, hotel commercial furniture, lighting, hotel supplies, sanitary ware, building material, curtain, textiles sourcing and others. Our clients includes retailer, wholesaler, restaurants, hotelier, interior designer, architects, property's developer project contractors from Australia, Bangalore, Bahrain, Ireland, Malaysia, New Zealand, the Philippines, the United Kingdom and the United State of America. We specialize in residential, hotel commercial furniture, lighting, hotel supplies, sanitary ware, building material, curtain, textiles sourcing and others. Why sourcing, buying or importing from China?http://www.googoochina.com · Lower skill labor costs lower material costs = high quality products at lower product costs. · If you wanted to visit buying from the worlds largest furniture wholesale center / market · If you wanted to compete with others and complete your project at a minimum cost (bigger profit margin) · If you want to design build your property with 5 star quality products at 2 star price. ·Ifyouwanttomakemoreprofitandincreasedcompetitiveadvantageorjoint-venturewithmanufacturerwithoutbiginvestment. ·Ifyouwanttodevelopyoursproductorcreateyourownbrandswithhighqualitymaterialatlowcostreasonablequantity.Your Worries / Challenges: · No China experience and expertise · Lack of market information knowledge of China market or choosing the wrong suppliers/ partners · Language barrier, culture, legal systems, and time difference · Some China manufacturer required big quantity purchase · Differences in Business Practices Expectations · Lack of communication with supplies · Quality assurance and schedule stability · Logistics distance · Traveling distanceHow Googoo China can help you? With intensive experience in China market, Googoo China helps our clients remove these barriers; overcome obstacles and turn opportunities into reality. To setup a physical presence in China involves high costs, manpower and risks, Googoo China offer you an effective, efficient, quality and low cost solution. We provide you an effective and value added services at a very reasonable fee or commission structure that based on performance. Our goal is to function as your overseas sourcing department of your company. We act as buyers representative or agent that allows for a transparent purchasing process, whereby we will take clients to an open wholesale market and discounted vendor pricing passes directly to you. Extensive, 10,000+ vendor databases ensures options for the best price, quality, and design possible.With our experience dealing with many international clients and participation in international furniture home furnishing exhibition around the world; weunderstand your the needs and expectations. And can easily transfer these requirements to your supplier to ensure your objectives are met. We save the client money without compromising project schedule and design. Our efficient supply chain management operation strong communication between all parties allows clients from small business to fortune 500 companies to reduce costs by up-to 80% on their current purchasing cost while maintaining high quality product with on-time delivery. Our team of qualified Quality Control Inspectors inspects the goods during production and before shipment. We have a customized Inspection Program to meet the requirements of all our clients.img src="" / hotel purchasing agents, Contract furniture supplier, contract furniture manufacturer, building material supplier, building material supplies, building material wholesaler, FFE purchasing agents, China purchasing agents, procurement agents, buying agents, China buying agents, Buying agents in China, China hotel buying agents, China FFE purchasing agents, china hotel purchasing agents, contract furniture, hotel furniture, pub furniture, restaurants furniture, mattress, sourcing agents, China sourcing agents, FFE sourcing agents, furniture fixture Equipments suppliers, China furniture supplier, Furniture wholesale center, furniture wholesale market, China buying office, China buying house, China procurement office, Ask a question on any topic and get answers from real people. Go to Yahoo! Answers. ___ 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] combining all zope2 FAQs into one big one at wiki.zope., org/zope2
On 11/7/06, Jens Vagelpohl [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7 Nov 2006, at 07:17, Bakhtiar A Hamid wrote: The stuff there are just place holders. But with the permission of site owners i'd like to start transfer stuff over. thoughts? comments? I can comment on two of those links (well, one is gone now ;) - - the CMF FAQ does not exist. I removed the link. - - the German FAQ (I corrected the link) is not a suitable candidate for absorption into wiki.zope.org. One goal for the site at www.zope.de is to have a single point for German language Zope docs, and it should stay that way. understood. was thinking more about the english faqs. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFUDquRAx5nvEhZLIRAk9eAKC7onSzcI4lZYI0FHMYohtSXn9bagCgjgR8 rzcCnbe/R3D7RL5wMJ0kavY= =1TvT -END PGP SIGNATURE- ___ 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 ) -- http://myzope.kedai.com.my - my-zope 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] How To Convert Files To Page Templates?
83- Original Message From: Chris Withers [EMAIL PROTECTED]Nancy Donnelly wrote: Hi; I'm redoing a bunch of documents on a Zope site on my PC and I realized it would be easier to simply delete all the old ones and upload all the new ones. But if I do that, they'll load as "files", not "page templates". How are you creating these new objects?In a text editor. I'd hazard a guess that you're looking to create a PUT_factory so that objects of the correct type are created when you upload things via FTP or WebDAV...That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering our personal data for Homeland Security) "put_factory" and got this code snippet:if ext == 'dtml': from OFS.DTMLDocument import DTMLDocument return DTMLDocument( '', __name__=name )So...how would I rewrite that to change it into a page template? And, more importantly, where is the documentation to do so? Yahooing didn't help on this. I went to my Zope installation to:{INSTALLATION}/lib/python/OFSto hunt around, but no script pointing to some "PTDocument" like there is with DTML.TIA,Nancy___ 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 Convert Files To Page Templates?
On Tue, Nov 07, 2006 at 03:14:40AM -0800, Nancy Donnelly wrote: That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering our personal data for Homeland Security) put_factory and got this code snippet: if ext == 'dtml': from OFS.DTMLDocument import DTMLDocument return DTMLDocument( '', __name__=name ) So...how would I rewrite that to change it into a page template? And, more importantly, where is the documentation to do so? Yahooing didn't help on this. I went to my Zope installation to: {INSTALLATION}/lib/python/OFS to hunt around, but no script pointing to some PTDocument like there is with DTML. I think you want ZopePageTemplate from lib/python/Products/PageTemplates/ -- 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 Convert Files To Page Templates?
- Original Message From: Paul Winkler [EMAIL PROTECTED]On Tue, Nov 07, 2006 at 03:14:40AM -0800, Nancy Donnelly wrote: That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering our personal data for Homeland Security) "put_factory" and got this code snippet: if ext == 'dtml': from OFS.DTMLDocument import DTMLDocument return DTMLDocument( '', __name__=name ) So...how would I rewrite that to change it into a page template? And, more importantly, where is the documentation to do so? Yahooing didn't help on this. I went to my Zope installation to: {INSTALLATION}/lib/python/OFS to hunt around, but no script pointing to some "PTDocument" like there is with DTML. I think you want ZopePageTemplate from lib/python/Products/PageTemplates/Hmm. Looking in that I find these two files that *might* be appropriate:PageTemplates.pyZopePageTemplates.pyThe latter is a wrapper for the former. The former defines the following class:class PageTemplate(Base):If this is the class I want to use, why only one argument? My example above cites exactly two arguments. And it is not a "base" I need to pass, is it?The latter defines the following class:class ZopePageTemplate(Script, PageTemplate, Historical, Cacheable, Traversable, PropertyManager):Why so many arguments? It doesn't look like those are any of the arguments I need to pass. None of the other files in that folder appeared to make sense, either.I confess I'm still quite green at programming, so if I'm wrong, please don't be too harsh ;) Any direction would be appreciated.TIA,Nancy___ 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 Convert Files To Page Templates?
+---[ Nancy Donnelly ]-- | - Original Message | From: Paul Winkler [EMAIL PROTECTED] | | On Tue, Nov 07, 2006 at 03:14:40AM -0800, Nancy Donnelly wrote: | That helped a lot! I yahoo'd (can't google any more since they've sold out | to the interests gathering our personal data for Homeland Security) | put_factory and got this code snippet: | | if ext == 'dtml': |from OFS.DTMLDocument import DTMLDocument | | return DTMLDocument( '', __name__=name ) | | So...how would I rewrite that to change it into a page template? And, more | importantly, where is the documentation to do so? Yahooing didn't help on | this. I went to my Zope installation to: | {INSTALLATION}/lib/python/OFS | to hunt around, but no script pointing to some PTDocument like there is | with DTML. | | I think you want ZopePageTemplate from lib/python/Products/PageTemplates/ | | Hmm. Looking in that I find these two files that *might* be appropriate: | | PageTemplates.py | ZopePageTemplates.py | | The latter is a wrapper for the former. The former defines the following class: | | class PageTemplate(Base): | | If this is the class I want to use, why only one argument? My example above | cites exactly two arguments. And it is not a base I need to pass, is it? | | The latter defines the following class: | | class ZopePageTemplate(Script, PageTemplate, Historical, Cacheable, |Traversable, PropertyManager): | | Why so many arguments? It doesn't look like those are any of the arguments I | need to pass. None of the other files in that folder appeared to make sense, | either. These are not arguments, they are baseclasses. -- 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] Re: newbie -- creating a Product
Max M wrote:Btw. I don't see any reason to use words like 'drivel' and 'bullshit'.It is rude and counterproductive. And I don't recall that I have beenrude on this list in general or to you specifically. Of course it is rude and counterproductive. It seems to be a feature on this list being rude and immature. Not from everyone of course, just from the minority. If certain 'personality types' get irritated when reading and replying to a community support list, they shouldn't be here. You've just got to ignore it and put it down to a 'lack of class' as another list member put it. On 11/7/06, Jonathan [EMAIL PROTECTED] wrote: - Original Message -From: Tres Seaver [EMAIL PROTECTED]To: zope@zope.orgSent: Monday, November 06, 2006 7:00 PM Subject: [Zope] Re: newbie -- creating a Product -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max M wrote: Jonathan skrev: Well the problem is that Zope 2 was never easy for beginners either. And by now it is starting to get phased out for Zope 3. This is the first I have heard about Zope 2 being phased out... Well .. get used to it then ;-) Z2 will keep on being maintained until it is replaced by Z3. The goal of the zope developers is not about keeping Z2 and Z3 running for as long as possible. Only for as long as necessary. Z2 is still being maintained, and will be for a long time. But the development is all moving in the direction of Z3. Read the changelog of the latest Z2 releases. They are practially only about bugfixes and Z3 integration. Core Zope 2 development has practically grinded to a halt. New developments are taking place in Zope 3. How is that not an outphasing? I would actually bet on Jim's door #3 (Zope2 reabsorbing Zope3) as a more likely outcome.Five years later, the number of production installations of Zope3 compared to Zope2 is statistically insignificant; the use of Zope3 technology within Zope2, however, is growing by leaps and bounds.+1I think this is a very realistic/feasible option.The installed base ofZope 2 applications is too large for Zope 2 to disappear, and porting Zope 2 applications to Zope 3 is not practical. I am hoping that Door #3 is thewinning door!___Zope maillist- Zope@zope.orghttp://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 )-- michael ___ 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: combining all zope2 FAQs into one big one at wiki.zope., org/zope2
+1 for most of them, thanks for doing this. How about just /FAQ, then wiki.zope.org/zope2/faq works, it's consistent with zope3 etc. FAQs can become a placeholder pointing there. ___ 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] FAQ writing tips (Re: combining all zope2 FAQs into one big one at wiki.zope., org/zope2)
PS, here's a word of warning to FAQ writers from my own experience, a trap to avoid: You start writing answers for questions - it's so easy and tempting - later you find better answers out on the web, even elsewhere in the same wiki, but now you have a big, verbose body of duplicated docs that's too good to throw away but not quite valuable enough to attract a lot of maintenance. Result: stagnation. How to avoid this ? Maybe keeping these goals in mind will help: - research, link, gather, consolidate docs first; write new ones as last resort - keep answers in the faq short and to the point, link to best detailed docs elsewhere - avoid unnecessary duplication. Use the contents link to see what's in the zope2 and other zope wikis. Refactor the wiki content aggressively when appropriate. Also, long wiki pages are less fun to edit than short ones, use an external editor for FAQ work to avoid this pain. Emacs users, try rst-mode.el. -Simon ___ 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 Convert Files To Page Templates?
I confess I'm still quite green at programming, so if I'm wrong, please don't be too harsh ;) Any direction would be appreciated. TIA, I'm not sure whether it is what you're looking for but it may be one of simplest solutions that you may change if you need to. As Andreas said before, ask a specific question :) 1. Log into ZMI and create a folder called 'Myfiles' 2. upload your files via FTP or something into 'Myfiles' folder and as you said before they should appear as 'File' objects 3. Create a file 'files2zpt.py' in the 'Extensions/' folder of your Zope instance (filesystem, not ZMI) and fill it with this code: # from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate def files2zpt(self): for fname, fobj in self.objectItems('File'): self._setObject(fname+'_zpt', ZopePageTemplate(fname+'_zpt', str(fobj.data))) return 'ok' #- 4. Go back to ZMI and to 'Myfiles/' folder and create 'External method' there by simply filling all fields in the add form as 'files2zpt' 5. Click on your new External method files2zpt in ZMI and 'Test' it :) Thats all HTH BTW. I tested this on Zope 2.8.8 -- 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] Extra Fancy Template Manipulation
Hi all, I've got three subsites that formerly used three different templates. I'd like for them now to use the same template, but I'd prefer not to have to touch the thousands of pages of content that currently point in three different places for their template. The easy solution is to copy/paste the template to three different places. But I don't like that solution. It will be obnoxious in the long run. I've never tried to manipulate templates and the execution of said templates with Python. Is there something I can do here to pass calls for the templates back to one place rather than actually duplicating my template? Cheers, Ed ___ 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] __bobo_traverse__ help
Hi all! Please consider this code: def __bobo_traverse__(self, REQUEST, name): obj = self.Propiedad(name) if obj is None: return self else: return obj def Propiedad(self, propiedad): obj = getattr(self, propiedad, None) if obj is None: return obj # Añadir busqueda al catalogo else: if type(obj) == type(str('')) and obj.startswith('[') and obj.endswith(']'): return self.Expresion({'Expresion': obj[1:-1]})['Resultado'] return obj I wonder why I can do: tal:b tal:replace='python: here.Propiedad(Modificacion)' / but not: tal:b tal:replace='here/Modificacion' / Where Modificacion is a property that starts with '[' and ends with ']' and Expresion is a member who evaluates the expresion as a TAL expresion and put the result in a dictionary with the key 'Resultado' When I try here/Modificacion an unauthorized error trying to access Modificacion Can you explain me what is happening, please? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito ___ 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 )