Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Laurent Q. on November 19, 2010, 02:51:44 pm



Title: webcomponent
Post by: Laurent Q. on November 19, 2010, 02:51:44 pm
Hi,

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

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

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


Title: Re: webcomponent
Post by: . on November 19, 2010, 03:56:34 pm
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




Title: Re: webcomponent
Post by: Laurent Q. on November 19, 2010, 04:01:18 pm
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