[Zope] Equivalent of context ZPT variable in DTML ?

2005-05-22 Thread KLEIN Stéphane
Hello, What is the equivalent in DTML of ZPT context variable ? Thanks for your help, -- Stéphane ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Re: How can I get context property in DTML ? (example)

2005-05-23 Thread KLEIN Stéphane
Tino Wildenhain a écrit : Am Montag, den 23.05.2005, 10:37 +0200 schrieb KLEIN Stéphane: Hello, In DTML I would like to do that : I've this directory : dir1 | dir2 | dir3 dir1 has property bar=1 dir2 has property bar=2 dir3 has property bar=3 I would like a foo_html DTML

[Zope] Where can I found hot_plug function of zpi.zope ?

2005-05-24 Thread KLEIN Stéphane
Hi, I search the definition of hot_plug function. I look it at CMFQuickInstallerTool/QuickInstallerTool.py file. The line code is that : from zpi.zope import not_installed, hot_plug I not found hot_plug function in my Product/ directory and not in Zope source. Where can I found it ?

[Zope] Re: How to modify 'title' of an object

2005-05-29 Thread KLEIN Stéphane
Rares Vernica a écrit : I found the answer myself. It is 'anage_changeProperties'. In [-- Zope Help -- API reference -- PropertyManager] there is no methodfor changing the any propeties. Nice try! Anyway there is no help for 'manage_changeProperties', (only the comments in the source file) and

[Zope] Re: PIL: can't call same method twice

2005-05-30 Thread KLEIN Stéphane
Chris Withers a écrit : Chris wrote: Hi David, this is not the problem (tried it before). The code foo = container.resize(context.REQUEST.image, size=size) # works nicely at this point, try inserting: context.REQUEST.image.seek(0) foo = container.resize(context.REQUEST.image,

[Zope] In zopeproject context, how can I execute test on one or all buildout-eggs packages ?

2008-02-19 Thread KLEIN Stéphane
Hello, at this place https://answers.launchpad.net/zopeproject/+question/25054 I've asked this question : In zopeproject context, how can I execute test on one or all buildout- eggs packages ? I've tried to use bin/test -p zope.foobar but it do nothing. Thanks for your help, Stephane

[Zope] I wonder why class constructor is never in apidoc ?

2008-07-07 Thread KLEIN Stéphane
Hi, I wonder why class constructor is never in apidoc ? Are there something in OOP concept I haven't understand ? Thanks for your help, Stephane ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] zope3, browser:addMenuItem, ZCML factory = ForbiddenAttribute: ('__call__', ...)

2008-09-19 Thread KLEIN Stéphane
Hi, I had some difficulty to use browser:addMenuItem ZCML directive : browser:addMenuItem factory=myproject.MyContent title=MyContent permission=zope.ManageContent / with my Factory : utility factory=.mycontent.MyContentFactory

Re: [Zope] zope3, browser:addMenuItem, ZCML factory = ForbiddenAttribute: ('__call__', ...)

2008-09-20 Thread KLEIN Stéphane
Le Fri, 19 Sep 2008 23:30:21 +, KLEIN Stéphane a écrit : Now, I've some comment and question about it : * I think this tip isn't developer friendly, what is the good method ? * Philipp von Weitershausen's book (Web Component Development with Zope 3) give first version of my example

[Zope-dev] Re: A book about Zope Component Architecture

2007-11-15 Thread KLEIN Stéphane
Le Wed, 14 Nov 2007 15:07:33 +0530, Baiju M a écrit : Hi all, I started writing a book about Zope Component Architecture. http://www.muthukadan.net/docs/zca.html http://www.muthukadan.net/docs/zca.pdf If you have any suggestions/comments please send it to me. Great stuff !

[Zope-dev] Re: z3c.zalchemy : ComponentLookupError: (InterfaceClass z3c.zalchemy.interfaces.IAlchemyEgineUtility, 'DemoEngine-1')

2008-02-18 Thread KLEIN Stéphane
Le Sat, 16 Feb 2008 18:33:52 +, KLEIN Stephane a écrit : Hi, I've tested z3c.zalchemy package and I've this error : ComponentLookupError: (InterfaceClass z3c.zalchemy.interfaces.IAlchemyEngineUtility, 'DemoEngine-1') I've found one fix : comment this line in

[Zope-dev] z3c.zalchemy : ComponentLookupError: (InterfaceClass z3c.zalchemy.interfaces.IAlchemyEgineUtility, 'DemoEngine-1')

2008-02-18 Thread KLEIN Stéphane
Hi, I've tested z3c.zalchemy package and I've this error : ComponentLookupError: (InterfaceClass z3c.zalchemy.interfaces.IAlchemyEngineUtility, 'DemoEngine-1') This is the different step I've did : 1. I've installed a fresh python environment with virtuelenv 2. I've installed zopeproject