[Zope] small tal tip needed.

2005-05-18 Thread prabuddha ray
-- Share the vision of difference with ME ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

[Zope] Save Changes executes Python script

2005-05-18 Thread Bert Vanderbauwhede
Hi, We have written a Python script that sends a mail. Everytime we modify this script with Firefox 1.0.4 in Windows and click Save Changes, the script is saved and executed. So everytime we receive a mail. This does not happen when we modify the script with Internet Explorer or Firefox 1.0.4 in

[Zope] VirtualHost

2005-05-18 Thread Brian Hickey
Hi all, Having a bit of trouble with virtual hosting, but I'm guessing the answer is probably simple. My Zope instance is running on a differentmachine to my apache server. I have created a Plone instance, and everything was working fine, accessible from port 8080 as standard. I wanted

Re: [Zope] More tolerant Stripogram (solution)

2005-05-18 Thread Chris Withers
Jaroslav Lukesh wrote: Why are you bothering to strip when you basically let people put in all the abusive tags anyway? Because it is not abusive tags for intranet blog. Then why are you using stripogram in the first place? Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] VirtualHost

2005-05-18 Thread Brian Hickey
Sorry guys, scrap that last one - transient network problem. All working again now. Thanks, Brian - Original Message - From: Brian Hickey To: zope@zope.org Sent: Wednesday, May 18, 2005 9:49 AM Subject: [Zope] VirtualHost Hi all, Having a bit of

[Zope] code completion for ZPT

2005-05-18 Thread Milos Prudek
Hi, is there an editor that would support code completion for Page Templates and maybe even code completion for Zope3 new technologies? Currently I use ViM on Linux - but a lot of typing is required, like tal:attributes - 14 keystrokes. -- Milos Prudek http://www.spoxdesign.com - your web

Re: [Zope] Adding zclass inside folder with python

2005-05-18 Thread Cliff Ford
A couple of lines at the bottom show one way to create a folder and an object inside that folder... Anthu Nguyen wrote: Hi, I've tried everything I can think of and am probably missing something obvious - help... I'm trying to (1) Create a folder, then (2) Add a new zclass inside that folder.

Re: [Zope] Running out of sockets

2005-05-18 Thread Gaute Amundsen
On Thursday 12 May 2005 20:45, Dieter Maurer wrote: Gaute Amundsen wrote at 2005-5-12 00:17 +0200: ... Restarting zope has fixed it for now, but ... lsof -a -U -uzope and lsof -uzope | wc -l Shows the number of open sockets steadily growing, and apparently none closing.. You might be

RE: [Zope] Seeking advice on Zope implementation

2005-05-18 Thread Dan Pozmanter
So there is only one service then? From the book, it seemed like there was a service for services, utilities, etc. Will much of the functionality from cmf being added to the core be implemented via utilities? -Original Message- From: Stephan Richter [mailto:[EMAIL PROTECTED] Sent:

Re: [Zope] Seeking advice on Zope implementation

2005-05-18 Thread Stephan Richter
On Wednesday 18 May 2005 10:13, Dan Pozmanter wrote: So there is only one service then? Well, in Zope 3.0 there are many services. But by definition services cannot be simply removed, since they are essential to the system. However, other componets can be removed more easily. In Zope 3.1 we

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-18 Thread David Pratt
Can someone advise whether Zope3 with continue to use DTML for filesystem zsql or is there something else? I am starting something and concerned about compatibility say a year or more from now when Zope3 will become the standard. Regards, David ___

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-18 Thread Stephan Richter
On Wednesday 18 May 2005 10:45, David Pratt wrote: Can someone advise whether Zope3 with continue to use DTML for filesystem zsql  or is there something else?  I am starting something and concerned about compatibility say a year or more from now when Zope3 will become the standard. Zope 3's

[Zope] the joy of hacking ZPublisher

2005-05-18 Thread Jim Abramson
Title: the joy of hacking ZPublisher In my Zope 2.7 Product, I'm trying to implement a special folder, which intercepts the publishing call to any subobject and wraps the entire call in another. A concrete example: where the default action would be to traverse

[Zope] Zwiki 0.41 released, news for april

2005-05-18 Thread Simon Michael
Seems I'm never going to finish this.. just *post* it! *What is it ?* Zwiki is a Zope product for building wikis - a special kind of website that's easy for anyone to edit. Zwiki was started in 1999 by Simon Michael and now receives improvements from many contributors. It is released under the GNU

[Zope] zopewiki news for april

2005-05-18 Thread Simon Michael
*About the Zopewiki project* zopewiki.org aims to be a simple, comprehensive, user-maintained repository for Zope documentation, notes and links - a hitch-hiker's guide to Zope. See http://zopewiki.org for more. *News* In april, the wiki seemed to come alive due to the number of different

[Zope] display object without index_html

2005-05-18 Thread Christopher Rivard
i am developing a Zope product (2.7) with a homepage content type and want this object to display as the index of a folder. for other custom objects, i have display methods that call an index view ( using DTMLFile) of the object like this: #homepage view index_html = DTMLFile('dtml/indexHomepage',

[Zope] Re: the joy of hacking ZPublisher

2005-05-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Abramson wrote: In my Zope 2.7 Product, I'm trying to implement a special folder, which intercepts the publishing call to any subobject and wraps the entire call in another. A concrete example: where the default action would be to traverse

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-18 Thread David Pratt
Wow. This could really simplify things however I am still operating within the CMF framework so until there is more this way, I don't know what I can use now in this context? What would really be great is the form generation etc from the zope schema since I am not using Archetypes or Plone.

Re: [Zope] Save Changes executes Python script

2005-05-18 Thread Dieter Maurer
Bert Vanderbauwhede wrote at 2005-5-18 09:22 +0200: We have written a Python script that sends a mail. Everytime we modify this script with Firefox 1.0.4 in Windows and click Save Changes, the script is saved and executed. So everytime we receive a mail. This does not happen when we modify the

Re: [Zope] Zope3 DTML in Filesystem ZSQL

2005-05-18 Thread Stephan Richter
On Wednesday 18 May 2005 16:50, David Pratt wrote: Wow.  This could really simplify things however I am still operating within the CMF framework so until there is more this way,  I don't know what I can use now in this context?  What would really be great is the form generation etc from the

RE: [Zope] How to make a ZPT-based form that calls itself? (Part II)

2005-05-18 Thread Ken Winter
In Part I, J Cameron Cooper showed me how to write a ZPT-based form that displayed a list of database records and gave the user a chance to delete one of them, after which the form redisplayed itself with a refreshed list that reflected the deletion just performed. The core of this was this

Re: [Zope] How to make a ZPT-based form that calls itself? (Part II)

2005-05-18 Thread Paul Winkler
On Wed, May 18, 2005 at 07:32:29PM -0400, Ken Winter wrote: The difference between this and the deletion example is that this form (personform.htm) need to be called with an argument, giving the person_id that identifies the record it is supposed to display. I have tried a number of ways to

[Zope-Annce] zopewiki news for april

2005-05-18 Thread Simon Michael
*About the Zopewiki project* zopewiki.org aims to be a simple, comprehensive, user-maintained repository for Zope documentation, notes and links - a hitch-hiker's guide to Zope. See http://zopewiki.org for more. *News* In april, the wiki seemed to come alive due to the number of different

[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/ Modified runalltests.py so it imports modules more like test.py, i.e.

2005-05-18 Thread Stefan H. Holek
Log message for revision 30382: Modified runalltests.py so it imports modules more like test.py, i.e. without touching sys.path and without the help of imp. Changed: U Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/trunk/lib/python/ add reference to ZConfig as an external

2005-05-18 Thread Fred L. Drake, Jr.
Log message for revision 30404: add reference to ZConfig as an external Changed: _U Zope/trunk/lib/python/ -=- Property changes on: Zope/trunk/lib/python ___ Name: svn:externals - zope

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZServer/tests/test_config.py these tests should check for the default binding address now, not the

2005-05-18 Thread Fred L. Drake, Jr.
Log message for revision 30408: these tests should check for the default binding address now, not the inet-address default, which does not make a lot of sense for binding Changed: U Zope/trunk/lib/python/ZServer/tests/test_config.py -=- Modified:

[Zope-Coders] Zope tests: 5 OK, 1 Failed

2005-05-18 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Tue May 17 11:01:01 2005 UTC to Wed May 18 11:01:01 2005 UTC. There were 6 messages: 6 from Zope Unit Tests. Test failures - Subject: FAILED (failures=1) : Zope-trunk Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue May 17