Re: [Pharo-users] From Roassal RTView to html
I am using chrome on windows 10. On Feb 5, 2018 19:51, "milton mamani" <akevalion@gmail.com> wrote:
I do not have that error, what browser do you use? let me know if I can help you, to improve this
2018-02-05 18:41 GMT-03:00 Andrei Stebakov <lispercat@gmail.com>:
Now it takes me to the right page, thanks! One small glitch though, looks like after mouse click the UI element gets grabbed by the mouse as if I pressed "click and hold". So the only way to dis-engage the mouse from the element is to refresh the html page.
On Mon, Feb 5, 2018 at 3:21 PM, milton mamani <akevalion@gmail.com> wrote:
Could you please use this script
Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; package: 'Roassal2'; package: 'Roassal2GT'; package: 'Trachel'; load.
2018-02-05 17:12 GMT-03:00 Andrei Stebakov <lispercat@gmail.com>:
Updated roassal via: Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal'; package: 'ConfigurationOfRoassal'; load. (Smalltalk at: #ConfigurationOfRoassal) load
The problems is still the same: added ".html" suffix.
On Mon, Feb 5, 2018 at 3:09 PM, Alexandre Bergel < alexandre.bergel@me.com> wrote:
Andrei, let us know how it goes
Cheers Alexandre
Envoyé de mon iPad
Le 5 févr. 2018 à 16:51, milton mamani <akevalion@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 <lispercat@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 <akevalion@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 <lispercat@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.bergel@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 <lispercat@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?
participants (1)
-
Andrei Stebakov