hello, is there any way to refresh External Method (as Extension/Install.py for exemple) without restarting zope, as product's "refresh" method ? thanks thomas
----- Original Message ----- From: "thomas desvenain" <thomas.desvenain@gmail.com> To: <zope@zope.org> Sent: Friday, June 02, 2006 7:47 AM Subject: [Zope] refreshing external method
hello,
is there any way to refresh External Method (as Extension/Install.py for exemple) without restarting zope, as product's "refresh" method ?
External methods are not products and don't have a 'refresh' method: Thru the ZMI you just select the external method you want and then click the 'Save Changes' button. If you want to do it programmatically try calling 'manage_edit' - for more info go into the ZMI, click on the external method then look at the html source for the page, this will show you what you need to do. hth Jonathan
Run Zope with debug-mode on (see etc/zope.conf) and EMs will be refreshed for you. Not however that this only works for the EMs themselves and *not* for modules they may be importing; changes in imported modules are not detected by the machinery. Stefan On 2. Jun 2006, at 13:47, thomas desvenain wrote:
hello,
is there any way to refresh External Method (as Extension/Install.py for exemple) without restarting zope, as product's "refresh" method ?
-- Anything that happens, happens. --Douglas Adams
thanks ! 2006/6/3, Stefan H. Holek <stefan@epy.co.at>:
Run Zope with debug-mode on (see etc/zope.conf) and EMs will be refreshed for you. Not however that this only works for the EMs themselves and *not* for modules they may be importing; changes in imported modules are not detected by the machinery.
Stefan
On 2. Jun 2006, at 13:47, thomas desvenain wrote:
hello,
is there any way to refresh External Method (as Extension/Install.py for exemple) without restarting zope, as product's "refresh" method ?
-- Anything that happens, happens. --Douglas Adams
participants (3)
-
Jonathan -
Stefan H. Holek -
thomas desvenain