[Zope-dev] Testing zope 3 utilities from zope 2

2007-06-12 Thread David Convent
hi, I'm writing a unit test for GS exportimport of the Plone 3.0 plone.app.viewletmanager product. the exportimport handler configures a storage which is a Zope 3 utility. As I want to include support for same node attributes than the skins tool exportimport handler, I took inspiration from

[Zope-dev] Re: Testing zope 3 utilities from zope 2

2007-06-12 Thread David Convent
I've been looking for a solution during hours before posting the question, and of course I found the solution right after posting it. I needed to use the setHooks() and setSite() from zope.app.component.hooks Sorry for the noise on the list, David David Convent wrote: hi, I'm writing a unit

Re: [Zope] error trying to import smtplib (unauthorized)

2005-10-13 Thread David Convent
Python scripts are run in a restricted environment, move your code to either an external method or a python zope product built on the filesystem Nicolas Georgakopoulos wrote: Trying to execute the following code from a python script from smtplib import SMTP from email.MIMEText import

Re: [Zope] BTreeFolder doubleclick patch

2005-07-08 Thread David Convent
Peter Bengtsson wrote: Shane (and the Zope list), I've patched your lovely BTreeFolder2 product (version 1.0.1) so that I can doubleclick on options in the dropdown instead of having to click the Edit button. This is using Javascript and if Javascript is disabled, nothing happens, it just goes

Re: [Zope] Code

2005-04-28 Thread David Convent
Hi Jean, if you want to use python code in an unrestricted environement, you should use ExternalMethods or write Python based Zope product on your filesystem. External Methods are better choice to beging with. You can learn more about External Methods from the Zope Book. Regards, [EMAIL

Re: [Zope] Folder Listing as a Plone Portlet Mini-HOWTO (draft)

2005-04-01 Thread David Convent
Matthew X. Economou wrote: http://web.irtnog.org/Members/xenophon/plone/portlet-folder-contents This folder listing portlet displays the title of the folder, its description, and a list of each item in the folder. Mousing over each link pops up its description in browsers that understand the

[Zope-dev] Re: [Archetypes-devel] Unicode in Zope 2 (ZMI, Archetypes, Plone, Formulator)

2004-04-26 Thread David Convent
consensus first. At the very least, can we create a Standard Unicode Practices page? Bye, -- David Convent ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related