Serving on the fly MIMEDocument

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Serving on the fly MIMEDocument

Sebastian Sastre-2
Hi there,

        I'm generating an image dynamically and I can't figure out how to serve
it. I've tried:

        html image
                document: aMIMEDocument
                mimeType: aMIMEDocument mimeType
                yourself.

        with no success. Should I write to disk and serve from there or there is
a way to serve it on the fly?

        thanks,

Sebastian
PS: that MIMEDocument has its contents (is a gif)
 

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Serving on the fly MIMEDocument

Lukas Renggli
In Squeak you can display your instance of Form by writing:

       html image form: aForm

If your image is a morph, you can serve it by converting to a form
first. For example:

      html image form: WatchMorph new imageForm

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Serving on the fly MIMEDocument

Sebastian Sastre-2
Works great. Thanks !

Sebastian

 

> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Lukas Renggli
> Enviado el: Sábado, 22 de Marzo de 2008 13:10
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] Serving on the fly MIMEDocument
>
> In Squeak you can display your instance of Form by writing:
>
>        html image form: aForm
>
> If your image is a morph, you can serve it by converting to a form
> first. For example:
>
>       html image form: WatchMorph new imageForm
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside