[Glass] How to render Morphs

Richard Sargent via Glass glass at lists.gemtalksystems.com
Mon Sep 5 10:27:21 PDT 2016


Take a look at how the ellipses morph renders on html and implement
something that does the same thing.

And if it's more than one morph, implement something that does the same
rendering.

On Sep 5, 2016 5:05 AM, "Alejandro Zuzek via Glass" <
glass at lists.gemtalksystems.com> wrote:

> Thanks Bruno and Stephan. I don't necessarily have to use Morphs. I need
> to generate an image and have it served by Seaside in Gemstone/S. Do you
> know of a way to programmatically generate images in Gemstone? I understand
> how the Pharo image with Zinc would work, but I would like to avoid having
> to install Pharo on the server. This is a tiny server we are talking about.
>
> On Sun, Sep 4, 2016 at 12:37 PM, Stephan Eggermont via Glass <
> glass at lists.gemtalksystems.com> wrote:
>
>> Gemstone does not support Morphic.
>>
>> You can run a Pharo image with Seaside (or just Zinc) and have that
>> provide the forms
>>
>> Stephan
>>
>>
>> On 04/09/16 14:20, Alejandro Zuzek via Glass wrote:
>>
>>> Hi,
>>>
>>> I have this code that in Pharo renders an ellipse as expected:
>>>
>>> renderBodyOn: html
>>>         super renderBodyOn: html.
>>>         html image document: EllipseMorph new
>>>
>>> But when I run it in Gemstone/S, nothing is displayed and I get a long
>>> stack
>>> trace in the logs.
>>>
>>> Pharo version is 4.0
>>> Gemstone/S version is 3.2.8.1
>>> Seaside version is 3.1 on both sides.
>>>
>>> Thanks,
>>>
>>> Alejandro
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://forum.world.st/How-to-r
>>> ender-Morphs-tp4914055.html
>>> Sent from the GLASS mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Glass mailing list
>>> Glass at lists.gemtalksystems.com
>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160905/6bf2396a/attachment.html>


More information about the Glass mailing list