[Seaside] Upload an image and display it immediately
karsten at heeg.de
Wed Jul 31 15:25:22 UTC 2019
You can very well return any kind of data from any responder. There’s nothing to stop you from having a callback block and in there do something like self requestContext respond:[:response| response ... ].
There you can do the same as what WAFileLibrary does: provide a document with mime-type, etc. if you set the content disposition you can even customize the filename.
Georg Heeg eK
Amtsgericht Dortmund HRA 12812
Am 31. Juli 2019 um 16:44:10 MESZ schrieb BrunoBB <smalltalk at adinet.com.uy>:
Actually i think this is not possible with Seaside (to serve an image
So i think the best approach is to:
1) Upload the image from Seaside
2) Copy the image to a virtual directory
3) Set Reverse Proxy to server the virtual directory of 3). (this step it
should be the first step :)
4) From Seaside create a image tag with url of 3) (the image served by the
Sent from: http://forum.world.st/Seaside-General-f86180.html
seaside mailing list
seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside