Re: [Zope] Precondition on images saved in a localfs folder

2006-01-13 Thread Dieter Maurer
Bruno Grampa wrote at 2006-1-10 23:42 +0100: if i upload an image in the ZOBD as a file i have the precondition if i do the same in the localfs folder no. Do you know why? The files in an localfs folder are only temporarily wrapped as Zope objects. The wrapper is destroyed at the request end.

[Zope] Precondition on images saved in a localfs folder

2006-01-10 Thread Bruno Grampa
Hello, if i upload an image in the ZOBD as a file i have the precondition if i do the same in the localfs folder no. Do you know why? It seems LocalFs will always recognise the file uploaded as an image... Thanks, Bruno ___ Zope maillist -

Re: [Zope] Precondition

2000-08-06 Thread R. David Murray
On Sun, 6 Aug 2000, Martijn Pieters wrote: Precondition Allows you to specify a precondition for the File. A precondition is a method or document which is executed before the File is viewed or downloaded. If the precondition raises an exception then the File cannot

Re: [Zope] Precondition

2000-08-05 Thread Martijn Pieters
On Fri, Aug 04, 2000 at 10:11:55PM -0400, R. David Murray wrote: On Fri, 4 Aug 2000, RC Compaan wrote: What does the "Precondition" property of the file class refer to? As far as I can tell from a quick scan of the source, the precondition is an object that is called just before the file

[Zope] Precondition

2000-08-04 Thread RC Compaan
What does the "Precondition" property of the file class refer to? Roché ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Precondition

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, RC Compaan wrote: What does the "Precondition" property of the file class refer to? As far as I can tell from a quick scan of the source, the precondition is an object that is called just before the file object is rendered. It can raise an exception, in which case the object