Re: [Zope-dev] no reload of image in management interface of python product

2001-06-28 Thread Dieter Maurer

[EMAIL PROTECTED] writes:
  i have a python product with an image as a property
  now i display the image in the management screen, but when i change the 
  image via the management interface the browser does no refresh of the image
  
  is set the mod time like this:
  
  self.doc_icon.lmt=time.time()
  self.doc_icon.lmh=rfc1123_date(self.doc_icon.lmt)
  
  doc_icon is a ImageFile
  
  so the date changes but the browser doesn't update this
The  browser has the image happily in its cache.
You need a SHIFT + 


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] no reload of image in management interface of python product

2001-06-28 Thread [EMAIL PROTECTED]

Dieter Maurer wrote:

[EMAIL PROTECTED] writes:
  i have a python product with an image as a property
  now i display the image in the management screen, but when i change the 
  image via the management interface the browser does no refresh of the image
  
  is set the mod time like this:
  
  self.doc_icon.lmt=time.time()
  self.doc_icon.lmh=rfc1123_date(self.doc_icon.lmt)
  
  doc_icon is a ImageFile
  
  so the date changes but the browser doesn't update this
The  browser has the image happily in its cache.
You need a SHIFT + 


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

thanks - but  isn't there another method - so that the user doesn't have 
to reload the page manualy everytime ?

- bernd


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )