[Zope] calling javascript method from dtml method

2009-03-15 Thread Dvir Bar-lev
Hi Is there any way to call a javascript method from a dtml method somewhere in the body of it? The method cam be in a different js file which is preferable or in the dtml method if there is no other way, from what I found on the web it looks like I can't but I want to make sure that I

Re: [Zope] calling javascript method from dtml method

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 9:09 Uhr, Dvir Bar-lev wrote: Hi Is there any way to call a javascript method from a dtml method somewhere in the body of it? The method cam be in a different js file which is preferable or in the dtml method if there is no

Re: [Zope] calling javascript method from dtml method

2009-03-15 Thread Josh Burvill
Just put a dtml-var x where x is a dtml document with your javascript in it. Even though it should be in the header it still seems to work 2009/3/15 Dvir Bar-lev dvi...@puresight.com Hi Is there any way to call a javascript method from a dtml method somewhere in the body of it? The

[Zope-dev] [Zope 2.12] distribution broken

2009-03-15 Thread Dieter Maurer
In order to test my external 'ZClasses' implementation, I easy_installed Zope2 (about 1 hour ago) -- but unfortunately, the distribution is broken: version conflict zope.component 3.5.1 versus zope.component 3.6.0. Maybe, the eggification of Zope2 will not turn out to be an advantage -- at least

[Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Dieter Maurer
The Zope 2.12 documention tells that the test command was removed from zopectl. test was a convenient way to test products and packages in the context of the instance. How is this use case now supported? -- Dieter ___ Zope-Dev maillist -

[Zope-dev] [Zope 2.12] Packaging weakness

2009-03-15 Thread Dieter Maurer
The documentation on PyPI tells to look into doc/INSTALL.txt to find installation instructions. However, doc is not installed by the standard easy_install process. Therefore, it is not so easy to find it. Relevant documentation should be installed by the standard easy_install process (it should

Re: [Zope-dev] [Zope 2.12] distribution broken

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 8:28 Uhr, Dieter Maurer wrote: In order to test my external 'ZClasses' implementation, I easy_installed Zope2 (about 1 hour ago) -- but unfortunately, the distribution is broken: version conflict zope.component 3.5.1 versus

Re: [Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 8:31 Uhr, Dieter Maurer wrote: The Zope 2.12 documention tells that the test command was removed from zopectl. Have to investigate that. test was a convenient way to test products and packages in the context of the instance. How

Re: [Zope-dev] [Zope 2.12] Packaging weakness

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 8:36 Uhr, Dieter Maurer wrote: The documentation on PyPI tells to look into doc/INSTALL.txt to find installation instructions. However, doc is not installed by the standard easy_install process. Therefore, it is not so easy to find

[Zope-dev] Dependencies on zope.app.appsetup

2009-03-15 Thread Dan Korostelev
Hi there. One of most annoying dependencies is the zope.app.appsetup package. Some packages, like zope.session depend on it just to provide boostrap setup for using these packages in context of zope3, the application server, however, they can be greatly used without it, so this is really awful

[Zope-dev] Zope Tests: 6 OK

2009-03-15 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sat Mar 14 12:00:00 2009 UTC to Sun Mar 15 12:00:00 2009 UTC. There were 6 messages: 6 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Sat Mar 14 21:21:06 EDT 2009 URL:

Re: [Zope-dev] [Checkins] SVN: zope.app.component/trunk/setup.py set missing minimum version

2009-03-15 Thread Michael Howitz
Am 15.03.2009 um 04:25 schrieb Stephan Richter: On Saturday 14 March 2009, Michael Howitz wrote: Log message for revision 98113: set missing minimum version Changed: U zope.app.component/trunk/setup.py -=- Modified: zope.app.component/trunk/setup.py

[Zope-dev] XML-RPC does not work under the paster process

2009-03-15 Thread Michael Haubenwallner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When using paste.httpserver instead of twisted.wsgi server zope.publisher.xmlrpc.XMLRPCRequest.processInputs() hangs when reading 0 Bytes from the request (wsgi.input socket._fileobject object). As i found the

Re: [Zope-dev] [Zope3-checkins] [Checkins] SVN: zope.app.component/trunk/setup.py set missing minimum version

2009-03-15 Thread Wichert Akkerman
Previously Stephan Richter wrote: On Saturday 14 March 2009, Michael Howitz wrote: Log message for revision 98113:   set missing minimum version   Changed:   U   zope.app.component/trunk/setup.py -=- Modified: zope.app.component/trunk/setup.py

Re: [Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Dieter Maurer
Andreas Jung wrote at 2009-3-15 08:53 +0100: On 15.03.2009 8:31 Uhr, Dieter Maurer wrote: The Zope 2.12 documention tells that the test command was removed from zopectl. Have to investigate that. test was a convenient way to test products and packages in the context of the instance. How is

Re: [Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 18:27 Uhr, Dieter Maurer wrote: Andreas Jung wrote at 2009-3-15 08:53 +0100: On 15.03.2009 8:31 Uhr, Dieter Maurer wrote: The Zope 2.12 documention tells that the test command was removed from zopectl. Have to investigate that.

Re: [Zope-dev] [Zope 2.12] Packaging weakness

2009-03-15 Thread Dieter Maurer
Andreas Jung wrote at 2009-3-15 08:56 +0100: ... On 15.03.2009 8:36 Uhr, Dieter Maurer wrote: The documentation on PyPI tells to look into doc/INSTALL.txt to find installation instructions. However, doc is not installed by the standard easy_install process. Therefore, it is not so easy to

[Zope-dev] [Fwd: [Bug 343079] [NEW] Broken distribution (2009-03-15)]

2009-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - Original Message Subject: [Bug 343079] [NEW] Broken distribution (2009-03-15) Date: Sun, 15 Mar 2009 07:42:00 - From: dmaurer die...@handshake.de Reply-To: Bug 343079 343...@bugs.launchpad.net To: tsea...@palladion.com

Re: [Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Dieter Maurer
Hanno Schlichting wrote at 2009-3-15 11:10 +0100: Dieter Maurer wrote: The Zope 2.12 documention tells that the test command was removed from zopectl. test was a convenient way to test products and packages in the context of the instance. How is this use case now supported? The normal way

Re: [Zope-dev] Dependencies on zope.app.appsetup

2009-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Korostelev wrote: Hi there. One of most annoying dependencies is the zope.app.appsetup package. Some packages, like zope.session depend on it just to provide boostrap setup for using these packages in context of zope3, the application

Re: [Zope-dev] [Zope 2.12] Packaging weakness

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 18:37 Uhr, Dieter Maurer wrote: Andreas Jung wrote at 2009-3-15 08:56 +0100: ... On 15.03.2009 8:36 Uhr, Dieter Maurer wrote: The documentation on PyPI tells to look into doc/INSTALL.txt to find installation instructions. However,

Re: [Zope-dev] [Zope 2.12] distribution broken

2009-03-15 Thread Dieter Maurer
Andreas Jung wrote at 2009-3-15 08:48 +0100: ... Zope2 2.12.1a1 version conflict ... ... In addition: setuptools 0.6c7 is pretty old and known to be broken in some ways. As expected, setuptool 0.6.c7 was not the problem. After easy_install -U setuptools, an easy_install -U Zope2 leads to

Re: [Zope-dev] [Zope 2.12] distribution broken

2009-03-15 Thread Dieter Maurer
Andreas Jung wrote at 2009-3-15 08:48 +0100: ... Zope2 2.12.0a1 distribution broken ... ... Try using the traditional python bootstrap.py bin/buildout approach. That (magically) worked. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Dieter Maurer
Andreas Jung wrote at 2009-3-15 18:36 +0100: ... test was a convenient way to test products and packages in the context of the instance. How is this use case now supported? Go with the buildout approach and use the alltests.cfg for testing support (see alltests.cfg). Means: work with a SVN

Re: [Zope-dev] [Zope 2.12] distribution broken

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.03.2009 18:59 Uhr, Dieter Maurer wrote: Andreas Jung wrote at 2009-3-15 08:48 +0100: ... Zope2 2.12.1a1 version conflict ... ... In addition: setuptools 0.6c7 is pretty old and known to be broken in some ways. As expected, setuptool

Re: [Zope-dev] producing a list of packages in the Zope Framework?

2009-03-15 Thread Christian Theune
On Fri, 2009-03-06 at 16:37 +0100, Hanno Schlichting wrote: Hi. Martijn Faassen wrote: No volunteers to help produce such a list? This is the friendly reminder that this thread is stalled. ;) When going through the list myself I didn't see a clear cut-off-point for things to include and

Re: [Zope-dev] setup.py extra dependencies

2009-03-15 Thread Christian Theune
On Thu, 2009-03-05 at 21:36 +0100, Wichert Akkerman wrote: Previously Sidnei da Silva wrote: On Thu, Mar 5, 2009 at 5:20 PM, Wichert Akkerman wich...@wiggy.net wrote: I would like to see a move away from zope testing frameworks to a more standard testing infrastructure: setup.py test,

Re: [Zope-dev] Standard request/response API

2009-03-15 Thread Christian Theune
On Tue, 2009-03-03 at 01:33 +0100, Martijn Faassen wrote: Hi there, Jim Fulton wrote: There's been some discussion recently about separating the interfaces in zope.publisher from the implementations to facilitate other implementations. I think it would be great to standardize

Re: [Zope-dev] [Zope 2.12] how to test products/packages?

2009-03-15 Thread Martin Aspeli
Dieter Maurer wrote: Hanno Schlichting wrote at 2009-3-15 11:10 +0100: Dieter Maurer wrote: The Zope 2.12 documention tells that the test command was removed from zopectl. test was a convenient way to test products and packages in the context of the instance. How is this use case now

Re: [Zope-dev] [Zope 2.12] distribution broken

2009-03-15 Thread Martin Aspeli
Andreas Jung wrote: As mentioned earlier: use buildout. easy_install support has no high priority right now. Whilst I understand that we don't have the capacity to test all different configurations now, I think it's a good principle to try to avoid a 'hard' dependency on zc.buildout. If we

Re: [Zope-dev] [Zope3-checkins] [Checkins] SVN: zope.app.component/trunk/setup.py set missing minimum version

2009-03-15 Thread Stephan Richter
On Sunday 15 March 2009, Wichert Akkerman wrote: If the package does not work with an older version of zope.publisher than imho that version restriction *has* to be in setup.py. And what if I backport the fix? We have done version specification like this in the Zope packages before and it

Re: [Zope-dev] [Zope3-checkins] [Checkins] SVN:zope.app.component/trunk/setup.py set missing minimum version

2009-03-15 Thread Roger Ineichen
Hi Stephan, Wichert, Michael Betreff: Re: [Zope3-checkins] [Checkins] SVN:zope.app.component/trunk/setup.py set missing minimum version On Sunday 15 March 2009, Wichert Akkerman wrote: If the package does not work with an older version of zope.publisher than imho that version

Re: [Zope-dev] [Fwd: [Bug 343079] [NEW] Broken distribution (2009-03-15)]

2009-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: On 15.03.2009 18:42 Uhr, Tres Seaver wrote: Original Message Subject: [Bug 343079] [NEW] Broken distribution (2009-03-15) Date: Sun, 15 Mar 2009 07:42:00 - From: dmaurer die...@handshake.de Reply-To:

Re: [Zope-dev] [Fwd: [Bug 343079] [NEW] Broken distribution (2009-03-15)]

2009-03-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16.03.2009 4:52 Uhr, Tres Seaver wrote: Andreas Jung wrote: On 15.03.2009 18:42 Uhr, Tres Seaver wrote: Original Message Subject: [Bug 343079] [NEW] Broken distribution (2009-03-15) Date: Sun, 15 Mar 2009 07:42:00 -