[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, size=size

[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) an

[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 ? T

[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] How can I get context property in DTML ? (example)

2005-05-23 Thread 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 Document file which display the property bar. This file is place in dir1. Exemple : When

[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 - http://ma