webcomponent

Started by Laurent Q., November 19, 2010, 02:51:44 PM

Previous topic - Next topic

Laurent Q.

Hi,

just made a basic test.
A form with 2 webcomponents (wc1, wc2), referencing the same type (componenttype="chart").
The main is :
Code (genero) Select
main
open window w with form "a"
   menu
      on action close
         exit menu
   end menu
close window w
end main

   

Then I wrote the chart.html referencing a chart.js with only one function :
Code (javascript) Select
function onICHostReady(version) {
   alert('inside');
}


The first launch of gdc displays only one "inside". Then, every next launch displays two "inside" (one per webcomponents), just like it should work.

Why this event is triggered only once (for the first webcomponents) at the first launch ?

(config : GDC : 2.30.05-4048
              GST : 2.30.09-93798)

Thanks

.

Hi Laurent,

A quick answer: https://4js.com/en/support/issue/?id=18818&back=%2F%3Fwords%3Dwebcomponent

As you sent the same question to your support center, your request will be handled by the support channel, if you need a more detailed answer.

Regards,
Pierre-Nicolas



Laurent Q.

Ok, thanks

I saw this tracker but i verified the existance of all my .js and they all exists.
So I thought it wasn't directly linked.

Regards