[Zope] ZOPE ITALIAN Mailing List

2000-05-24 Thread Marco Mariani
Sorry for bothering you. This is a one-time spam. A dozen people are being mailed in the back (blind carbon copy :-) I'd like to know if there's a need for an italian Zope list. Altough I'm OK reading or writing english, such a list could free some CPU cicles from my brain that I can devote to

[Zope] del dict[kw] in DTML

2000-06-13 Thread Marco Mariani
I can't find a way to emulate the pythonesque "del dict[kw]" within DTML without rebuilding the dictionary from scratch. May I? -- "This company has performed an illegal operation and will be shut down. If the problem persists, contact your vendor or appeal to a higher court." - Signal11 on

Re: [Zope] (no subject)

2000-06-23 Thread Marco Mariani
On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote: It seems to me that a few tweaks to the dtml-if syntax would be beneficial something like the following would certainly clean up some of the logic I end up writing. dtml-if X a href="a_url" dtml-always link text dtml-else

[Zope] sort=id, _.map, _.lambda woes

2000-07-01 Thread Marco Mariani
Hi all! I need the following: dtml-in "store.fileValues()" sort=id where "id" is a filename representing a number. Of course, sort uses it like a string and sorts it wrong. Maybe, since sortexpr= is not implemented (yet?) I could get away with: dtml-in "_.map(_.int,store.fileValues())"

[Zope] how to invalidate an object in the cache?

2000-07-01 Thread Marco Mariani
I am working with photo rotating/resizing, via PIL on external method. All the images are kept on LocalFS. There is a thumbnail bonanza page, when I select a thumbnail a form is shown, and I can adjust rotation/contrast/brightness. Upon submit, the new image+thumbnail is calculated and written

Re: [Zope] how to invalidate an object in the cache?

2000-07-02 Thread Marco Mariani
On Sun, Jul 02, 2000 at 03:56:39PM +1000, Marc Boschma wrote: Sounds like you need to manipulate the expiry time for the objects. I'd suggest that that can either be done in the RESPONSE or via meta tags in the standard_html_header to mark the page and the image as non-cacheable. I'm

Re: [Zope] Is Zope slow?

2000-07-06 Thread Marco Mariani
On Thu, Jul 06, 2000 at 04:13:31AM -0400, Firestar wrote: Of course if i have time, i will play ard with it and see how good it is. Problem is that time is not really on my side and i need to decide on my next development tool fast(i have yet to try out other stuff e.g. ASP, JSP, Servlet..)

Re: [Zope] displaying based on date

2000-09-25 Thread Marco Mariani
On Mon, Sep 25, 2000 at 05:00:47PM -0500, Timothy Wilson wrote: I've created a ZClass and I'm using an HTML table to display certain properties of the class. One of the properties is a date, and I want to display in the table only those instances of the ZClass for which this certain date