Andrei, let us know how it goes

Cheers
Alexandre 

Envoyé de mon iPad

> Le 5 févr. 2018 à 16:51, milton mamani <akeval...@gmail.com> a écrit :
> 
> Your need to load the last version of roassal, I change it that
> 
> 2018-02-05 16:44 GMT-03:00 Andrei Stebakov <lisper...@gmail.com>:
>> Milton, thanks for the example.
>> I wonder why the link it takes me to has an appended ".html" at the end like 
>> "https://twitter.com.html";?
>> 
>>> On Mon, Feb 5, 2018 at 12:55 PM, milton mamani <akeval...@gmail.com> wrote:
>>> Hi Andrei,
>>> 
>>> This is some example.
>>> 
>>> Let me know if this is what you want.
>>> 
>>> Run this in a playground with the last version of roassal:
>>> 
>>> 
>>> .=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=.
>>> 
>>> b := RTMondrian new.
>>> b shape text color: [Color random].
>>> b nodes: { 'https://facebook.com'. 'https://twitter.com'. 
>>> 'https://plus.google.com' }.
>>> b build.
>>> link := RTLinkView new 
>>>     name: [ :model | model ] "#yourself";
>>>     view: nil.
>>> b view elements @ link.
>>> 
>>> RTHTML5Exporter new
>>>     fileName: 'roassalfile.html';
>>>     export: b view.
>>> b view
>>> 
>>> .=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=..=.
>>> 
>>> Best regards,
>>> Milton
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 2018-02-05 14:16 GMT-03:00 Andrei Stebakov <lisper...@gmail.com>:
>>>> I'll try to find if there is a way to embed a clickable interaction. 
>>>> Looks like since there is no response to the topic, I was wondering if 
>>>> it's a non-pharo/roassal way to do it or it's just not so many people 
>>>> tried it.
>>>> 
>>>>> On Sat, Feb 3, 2018 at 5:42 AM, Alexandre Bergel 
>>>>> <alexandre.ber...@me.com> wrote:
>>>>> Hi Milton,
>>>>> 
>>>>> Can you answer to Andrei please?
>>>>> I know in Roassal there is a way to embed clickable interaction.
>>>>> 
>>>>> Cheers,
>>>>> Alexandre
>>>>> 
>>>>>> Begin forwarded message:
>>>>>> 
>>>>>> From: Andrei Stebakov <lisper...@gmail.com>
>>>>>> Subject: [Pharo-users] From Roassal RTView to html
>>>>>> Date: February 2, 2018 at 1:53:50 PM GMT-3
>>>>>> To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
>>>>>> Reply-To: Any question about pharo is welcome 
>>>>>> <pharo-users@lists.pharo.org>
>>>>>> 
>>>>>> I was wondering if it's a good idea to expose some of the Roassal models 
>>>>>> via web (say Seaside) using the ability of Roassal to generate HTML for 
>>>>>> the view. 
>>>>>> In this case how could I "spice up" the HTML making for example those 
>>>>>> ellipces or lablels clickabe so the click could take me to some web page 
>>>>>> bases on the data in the model?
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 

Reply via email to