You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by supercomp <li...@gmail.com> on 2012/11/16 10:01:30 UTC

some problem about loading html file

I want to integrate the google map ,so I did as what
raju-bitter<http://stackoverflow.com/users/410652/raju-bitter> said
at this site.
http://stackoverflow.com/questions/13354642/is-there-a-good-way-to-integrate-a-google-map-to-the-apache-openmeetings-2-0
which works well in openlaszlo
[image: 内嵌图片 2]

however, when I move it to the openmeetings 2.0 on the  src
[image: 内嵌图片 1]
it shows the warning @extensions/html.lzx≈29: reference to undefined
property '[]'. and can't load the html file! can any one help?

Re: some problem about loading html file

Posted by supercomp <li...@gmail.com>.
As you say , I set the debug mode , Debug.warn('create', id);  and it show
the warning "WARNING: create undefined ".Is that init as load the canvas?


2012/11/19 supercomp <li...@gmail.com>

> I copy the Openlaszlo version which I use to the build/openlaszlo folder
> ,and ant it ! It also show the problem。
>
> supercomp
>
>
> 2012/11/17 seba.wagner@gmail.com <se...@gmail.com>
>
>
>> No,
>>
>> what you should to is to look at:
>> @extensions/html.lzx≈29
>>
>> So goto to your openmeetings sources, there is a folder:
>> build/openlaszlo/lps/components/extensions/html.lzx
>> and look at (around) Line 29
>>
>> I guess lz.embed.iframemanager.owners is empty.
>> This is an internal class of OpenMeetings.
>> Maybe the embed.js that we are using was changed in some OpenLaszlo
>> versions.
>> The OpenLaszlo version we are using here is OpenLaszlo 4.9.x.
>>
>> There have been some tests to use later versions but there is currently
>> no priority to move to another OpenLaszlo version and refactor code
>> (because we are already working on a pure HTML5 runtime using Apache
>> Wicket).
>>
>> Sebastian
>>
>>
>> 2012/11/17 supercomp <li...@gmail.com>
>>
>>> Thx for your answer. After put the LZX  and HTML file into the
>>> OpenMeetings source tree , I did ant it ! The problem is that when I click
>>> a button , it should  pop up a window,which show the map, however it didn't
>>> work,and show the warning  @extensions/html.lzx≈29: reference to
>>> undefined property '[]'  !   I didn't include script into the library.lzx ,
>>> just use the method to call the javascript  which in the gmaps.html .
>>> should the library.lzx file include into the the gmaps.html file ?
>>>
>>>
>>> 2012/11/17 seba.wagner@gmail.com <se...@gmail.com>
>>>
>>> Hi supercomp,
>>>>
>>>> based on your description it won't be possible to give you any exact
>>>> hint what might happen. Copying the sources to the OpenMeetings 2.0 source
>>>> tree actually has zero effect to OpenMeetings as long as you do not include
>>>> the script correctly into the librrary.lzx.
>>>>
>>>> Also it is not clear what you mean by "and can't load the html file!"
>>>> Do you simply load gmaps.html in your browser? What do you expect to
>>>> happen? You have to compile the application, OpenMeetings uses and ANT task
>>>> to do that (in OpenLaszlo you can simply use the browser cause the
>>>> OpenLaszlo Server does compile the LZX file to an SWF automatically if you
>>>> load the LZX file in the browser).
>>>>
>>>> Sebastian
>>>>
>>>>
>>>> 2012/11/16 supercomp <li...@gmail.com>
>>>>
>>>>> I want to integrate the google map ,so I did as what raju-bitter<http://stackoverflow.com/users/410652/raju-bitter> said
>>>>> at this site.
>>>>> http://stackoverflow.com/questions/13354642/is-there-a-good-way-to-integrate-a-google-map-to-the-apache-openmeetings-2-0
>>>>> which works well in openlaszlo
>>>>> [image: 内嵌图片 2]
>>>>>
>>>>> however, when I move it to the openmeetings 2.0 on the  src
>>>>> [image: 内嵌图片 1]
>>>>> it shows the warning @extensions/html.lzx≈29: reference to undefined
>>>>> property '[]'. and can't load the html file! can any one help?
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sebastian Wagner
>>>> https://twitter.com/#!/dead_lock
>>>> http://www.webbase-design.de
>>>> http://www.wagner-sebastian.com
>>>> seba.wagner@gmail.com
>>>>
>>>
>>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>

Re: some problem about loading html file

Posted by supercomp <li...@gmail.com>.
I copy the Openlaszlo version which I use to the build/openlaszlo folder
,and ant it ! It also show the problem。

supercomp


2012/11/17 seba.wagner@gmail.com <se...@gmail.com>

>
> No,
>
> what you should to is to look at:
> @extensions/html.lzx≈29
>
> So goto to your openmeetings sources, there is a folder:
> build/openlaszlo/lps/components/extensions/html.lzx
> and look at (around) Line 29
>
> I guess lz.embed.iframemanager.owners is empty.
> This is an internal class of OpenMeetings.
> Maybe the embed.js that we are using was changed in some OpenLaszlo
> versions.
> The OpenLaszlo version we are using here is OpenLaszlo 4.9.x.
>
> There have been some tests to use later versions but there is currently no
> priority to move to another OpenLaszlo version and refactor code (because
> we are already working on a pure HTML5 runtime using Apache Wicket).
>
> Sebastian
>
>
> 2012/11/17 supercomp <li...@gmail.com>
>
>> Thx for your answer. After put the LZX  and HTML file into the
>> OpenMeetings source tree , I did ant it ! The problem is that when I click
>> a button , it should  pop up a window,which show the map, however it didn't
>> work,and show the warning  @extensions/html.lzx≈29: reference to
>> undefined property '[]'  !   I didn't include script into the library.lzx ,
>> just use the method to call the javascript  which in the gmaps.html .
>> should the library.lzx file include into the the gmaps.html file ?
>>
>>
>> 2012/11/17 seba.wagner@gmail.com <se...@gmail.com>
>>
>> Hi supercomp,
>>>
>>> based on your description it won't be possible to give you any exact
>>> hint what might happen. Copying the sources to the OpenMeetings 2.0 source
>>> tree actually has zero effect to OpenMeetings as long as you do not include
>>> the script correctly into the librrary.lzx.
>>>
>>> Also it is not clear what you mean by "and can't load the html file!"
>>> Do you simply load gmaps.html in your browser? What do you expect to
>>> happen? You have to compile the application, OpenMeetings uses and ANT task
>>> to do that (in OpenLaszlo you can simply use the browser cause the
>>> OpenLaszlo Server does compile the LZX file to an SWF automatically if you
>>> load the LZX file in the browser).
>>>
>>> Sebastian
>>>
>>>
>>> 2012/11/16 supercomp <li...@gmail.com>
>>>
>>>> I want to integrate the google map ,so I did as what raju-bitter<http://stackoverflow.com/users/410652/raju-bitter> said
>>>> at this site.
>>>> http://stackoverflow.com/questions/13354642/is-there-a-good-way-to-integrate-a-google-map-to-the-apache-openmeetings-2-0
>>>> which works well in openlaszlo
>>>> [image: 内嵌图片 2]
>>>>
>>>> however, when I move it to the openmeetings 2.0 on the  src
>>>> [image: 内嵌图片 1]
>>>> it shows the warning @extensions/html.lzx≈29: reference to undefined
>>>> property '[]'. and can't load the html file! can any one help?
>>>>
>>>
>>>
>>>
>>> --
>>> Sebastian Wagner
>>> https://twitter.com/#!/dead_lock
>>> http://www.webbase-design.de
>>> http://www.wagner-sebastian.com
>>> seba.wagner@gmail.com
>>>
>>
>>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: some problem about loading html file

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
No,

what you should to is to look at:
@extensions/html.lzx��29

So goto to your openmeetings sources, there is a folder:
build/openlaszlo/lps/components/extensions/html.lzx
and look at (around) Line 29

I guess lz.embed.iframemanager.owners is empty.
This is an internal class of OpenMeetings.
Maybe the embed.js that we are using was changed in some OpenLaszlo
versions.
The OpenLaszlo version we are using here is OpenLaszlo 4.9.x.

There have been some tests to use later versions but there is currently no
priority to move to another OpenLaszlo version and refactor code (because
we are already working on a pure HTML5 runtime using Apache Wicket).

Sebastian

2012/11/17 supercomp <li...@gmail.com>

> Thx for your answer. After put the LZX  and HTML file into the
> OpenMeetings source tree , I did ant it ! The problem is that when I click
> a button , it should  pop up a window,which show the map, however it didn't
> work,and show the warning  @extensions/html.lzx��29: reference to
> undefined property '[]'  !   I didn't include script into the library.lzx ,
> just use the method to call the javascript  which in the gmaps.html .
> should the library.lzx file include into the the gmaps.html file ?
>
>
> 2012/11/17 seba.wagner@gmail.com <se...@gmail.com>
>
> Hi supercomp,
>>
>> based on your description it won't be possible to give you any exact hint
>> what might happen. Copying the sources to the OpenMeetings 2.0 source tree
>> actually has zero effect to OpenMeetings as long as you do not include the
>> script correctly into the librrary.lzx.
>>
>> Also it is not clear what you mean by "and can't load the html file!"
>> Do you simply load gmaps.html in your browser? What do you expect to
>> happen? You have to compile the application, OpenMeetings uses and ANT task
>> to do that (in OpenLaszlo you can simply use the browser cause the
>> OpenLaszlo Server does compile the LZX file to an SWF automatically if you
>> load the LZX file in the browser).
>>
>> Sebastian
>>
>>
>> 2012/11/16 supercomp <li...@gmail.com>
>>
>>> I want to integrate the google map ,so I did as what raju-bitter<http://stackoverflow.com/users/410652/raju-bitter> said
>>> at this site.
>>> http://stackoverflow.com/questions/13354642/is-there-a-good-way-to-integrate-a-google-map-to-the-apache-openmeetings-2-0
>>> which works well in openlaszlo
>>> [image: ��ǶͼƬ 2]
>>>
>>> however, when I move it to the openmeetings 2.0 on the  src
>>> [image: ��ǶͼƬ 1]
>>> it shows the warning @extensions/html.lzx��29: reference to undefined
>>> property '[]'. and can't load the html file! can any one help?
>>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>


-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: some problem about loading html file

Posted by supercomp <li...@gmail.com>.
Thx for your answer. After put the LZX  and HTML file into the OpenMeetings
source tree , I did ant it ! The problem is that when I click a button , it
should  pop up a window,which show the map, however it didn't work,and show
the warning  @extensions/html.lzx≈29: reference to undefined property '[]'
 !   I didn't include script into the library.lzx , just use the method to
call the javascript  which in the gmaps.html . should the library.lzx file
include into the the gmaps.html file ?


2012/11/17 seba.wagner@gmail.com <se...@gmail.com>

> Hi supercomp,
>
> based on your description it won't be possible to give you any exact hint
> what might happen. Copying the sources to the OpenMeetings 2.0 source tree
> actually has zero effect to OpenMeetings as long as you do not include the
> script correctly into the librrary.lzx.
>
> Also it is not clear what you mean by "and can't load the html file!"
> Do you simply load gmaps.html in your browser? What do you expect to
> happen? You have to compile the application, OpenMeetings uses and ANT task
> to do that (in OpenLaszlo you can simply use the browser cause the
> OpenLaszlo Server does compile the LZX file to an SWF automatically if you
> load the LZX file in the browser).
>
> Sebastian
>
>
> 2012/11/16 supercomp <li...@gmail.com>
>
>> I want to integrate the google map ,so I did as what raju-bitter<http://stackoverflow.com/users/410652/raju-bitter> said
>> at this site.
>> http://stackoverflow.com/questions/13354642/is-there-a-good-way-to-integrate-a-google-map-to-the-apache-openmeetings-2-0
>> which works well in openlaszlo
>> [image: 内嵌图片 2]
>>
>> however, when I move it to the openmeetings 2.0 on the  src
>> [image: 内嵌图片 1]
>> it shows the warning @extensions/html.lzx≈29: reference to undefined
>> property '[]'. and can't load the html file! can any one help?
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: some problem about loading html file

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi supercomp,

based on your description it won't be possible to give you any exact hint
what might happen. Copying the sources to the OpenMeetings 2.0 source tree
actually has zero effect to OpenMeetings as long as you do not include the
script correctly into the librrary.lzx.

Also it is not clear what you mean by "and can't load the html file!"
Do you simply load gmaps.html in your browser? What do you expect to
happen? You have to compile the application, OpenMeetings uses and ANT task
to do that (in OpenLaszlo you can simply use the browser cause the
OpenLaszlo Server does compile the LZX file to an SWF automatically if you
load the LZX file in the browser).

Sebastian


2012/11/16 supercomp <li...@gmail.com>

> I want to integrate the google map ,so I did as what raju-bitter<http://stackoverflow.com/users/410652/raju-bitter> said
> at this site.
> http://stackoverflow.com/questions/13354642/is-there-a-good-way-to-integrate-a-google-map-to-the-apache-openmeetings-2-0
> which works well in openlaszlo
> [image: ��ǶͼƬ 2]
>
> however, when I move it to the openmeetings 2.0 on the  src
> [image: ��ǶͼƬ 1]
> it shows the warning @extensions/html.lzx��29: reference to undefined
> property '[]'. and can't load the html file! can any one help?
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com