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.
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 -
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
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
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 -
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