[Zope] Re: Announcing the release of Zope version 2.8.8

2006-07-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kit BLAKE wrote: > Hi Tres, >>- Extension Classes were rewritten as Python new-style classes making >> all features of Python new-style classes available in Zope >> objects. This includes support for cyclic garbage collection. > > Does t

Re: [Zope] default webpage after External Method script executed

2006-07-20 Thread Andreas Jung
--On 20. Juli 2006 20:48:16 +0200 Tino Wildenhain <[EMAIL PROTECTED]> wrote: return self.context.REQUEST.RESPONSE.redirect(some_url_plus_query_string) valid but very ugly. Why not just return the result of the call of a template? You might be interested have the original page under the

Re: [Zope] default webpage after External Method script executed

2006-07-20 Thread Tino Wildenhain
Andreas Jung wrote: > > > --On 20. Juli 2006 19:25:11 +0100 Alan <[EMAIL PROTECTED]> wrote: > >> Hi! >> >> My simple webpage for submitting files is ok. It calls a External >> Method script to do all the dirty job. However, I am running out of >> ideas of how to get back to my default submitting

Re: [Zope] default webpage after External Method script executed

2006-07-20 Thread Andreas Jung
--On 20. Juli 2006 19:25:11 +0100 Alan <[EMAIL PROTECTED]> wrote: Hi! My simple webpage for submitting files is ok. It calls a External Method script to do all the dirty job. However, I am running out of ideas of how to get back to my default submitting web page after submitting a file (and t

[Zope] default webpage after External Method script executed

2006-07-20 Thread Alan
Hi! My simple webpage for submitting files is ok. It calls a External Method script to do all the dirty job. However, I am running out of ideas of how to get back to my default submitting web page after submitting a file (and thus execute the script). Any idea would be very welcome. Thanks in ad

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
On 7/20/06, Garito <[EMAIL PROTECTED]> wrote: What do you think? I realize this is probably because English isn't your first language, but I completely failed to understand there what your application does or tries to accomplish. I just cannot reconstruct what the application should do for your

Re: [Zope] (no subject)

2006-07-20 Thread José Henrique
I couldn't reproduce this behavior.  When I try to make such assignement (myObject.title='The new title'), Zope returns this messageattribute-less object (assign or del) I'm using Zope 2.7.6-final, python 2.3.4. Jose Henrique2006/7/18, Martijn Pieters <[EMAIL PROTECTED]>: On 18 Jul 2006 19:12:54 -0

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Martijn Pieters escribió: On 7/20/06, Garito <[EMAIL PROTECTED]> wrote: > No, we need a use-case. Otherwise you have what we call a YAGNI, a "You > aint gonna need it" feature that noone will maintain because noone uses it. > > A vague notion that you'd like to see this for your application is

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
On 7/20/06, Garito <[EMAIL PROTECTED]> wrote: > No, we need a use-case. Otherwise you have what we call a YAGNI, a "You > aint gonna need it" feature that noone will maintain because noone uses it. > > A vague notion that you'd like to see this for your application is not a > use-case. > I use th

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Tino Wildenhain
Garito wrote: Martijn Pieters escribió: Please don't email me personally; let's keep this discussion on the list. Garito wrote: Yes, the indexes depends on the entity (I don't know what indexes I use until I define the entity but I need to catalog every characteristic of the entity) For exa

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Martijn Pieters escribió: Please don't email me personally; let's keep this discussion on the list. Garito wrote: Yes, the indexes depends on the entity (I don't know what indexes I use until I define the entity but I need to catalog every characteristic of the entity) For example if I have

Re: [Zope] Reading and parsing a text file object

2006-07-20 Thread Eric Fernandez
[EMAIL PROTECTED] wrote: Roberto Benitez wrote: file="%s" % context.textfile Huh? Isn't that just a weird and probably inefficient way of writing "file=str(context.textfile)"? Sso I was mistaken when I said \n were removed... I can indeed split by '\n' the result of str(contex

Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
Please don't email me personally; let's keep this discussion on the list. Garito wrote: > Yes, the indexes depends on the entity (I don't know what indexes I use > until I define the entity but I need to catalog every characteristic of > the entity) > > For example if I have a entity with a conta

Re: [Zope] Reading and parsing a text file object

2006-07-20 Thread blists
> Roberto Benitez wrote: >> file="%s" % context.textfile Huh? Isn't that just a weird and probably inefficient way of writing "file=str(context.textfile)"? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross post

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it?

Re: [Zope] Catalog aware

2006-07-20 Thread Sascha Welter
(Wed, Jul 19, 2006 at 12:00:09PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: > Subject: Re: [Zope] Catalog aware Andreas Jung wrote: > > It makes little sense to index the contents of PTs. PTs are used to > > present a view on a particular instance of your class but not for > > providing con

Re: [Zope] Catalog aware

2006-07-20 Thread Tino Wildenhain
Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can

Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
On 7/20/06, Garito <[EMAIL PROTECTED]> wrote: > Please read the catalog section again: there isnt the object in the > catalog! > Again: The object is _not_ in the catalog. > Its all about usefull indexes and maybe object metadata. > So again: _what_ actually do you expect to find? When I talk abo

Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I

Re: [Zope] Reading and parsing a text file object

2006-07-20 Thread Eric Fernandez
Roberto Benitez wrote: The following worked for me: with a file object containing the following text: line one of test file line two of test file line three of test file I was table to parse lines w/ following code: file="%s" % context.textfile num=1 for line in file.split("\n"): prin

Re: [Zope] Catalog aware

2006-07-20 Thread Tino Wildenhain
Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them -

Re: [Zope] Announcing the release of Zope version 2.8.8

2006-07-20 Thread kit BLAKE
Hi Tres, - Extension Classes were rewritten as Python new-style classes making all features of Python new-style classes available in Zope objects. This includes support for cyclic garbage collection. Does this mean that the following is fixed? Quoting from the Zope 2.9.4 CHANGES.tx

Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can