[Seaside] Using image tags in Seaside
Andreas Nilsson
wahboh at mac.com
Fri Sep 10 15:09:13 CEST 2004
A day earlier and you could have saved me some cursing ;)
Ran into that yesterday, the image refused to change in the webbrowser.
Since I use the serial from the database table in #= and #hash I solved
it by just deleting the old record in the database and inserting a new
whenever a new picture is selected.
/Adde
On 2004-09-10, at 14.56, Avi Bryant wrote:
>
> On Sep 10, 2004, at 2:52 PM, Andreas Nilsson wrote:
>
>> In this case the images aren't really static as the user is supposed
>> to be able to change them easily from the web interface.
>> But thanks for the tip, I'll keep it in mind if I come across a case
>> where I wan't to serve static images.
>
> Be careful to take this into account when implementing #= on your
> image class - you want it to return false if the user has changed the
> image (otherwise the same URL will be assigned, and the browser will
> used its cached version).
>
> Avi
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
More information about the Seaside
mailing list