PDA

View Full Version : Unlisted Error Message


dmccay
01-05-2007, 08:02 PM
Can anyone tell me how to fix these two ??

First one is:
WARNING: 'menu' is already defined. Use 'lz.menu' instead.

The only Menu in my application is:
<view>
<simplelayout axis="y"/>
<menubar width="${parent.parent.width}">
<menu text="Make Booking" width="100">
<menuitem text="New Booking" onselect="mylist.newbooking.setVisible(!mylist.newbooking.vi sible);"/>
<menuseparator/>
</menu>
</menubar>
<view>

Second One is:
ERROR: No eventSender (null) for onstylechanged
ERROR: No eventSender (null) for onstylechanged
ERROR: No eventSender (null) for onstylechanged

I have three color changes such as:
<tabelement text="Today" minheight="20" style="mygreenstyle" selected="true">

and they reference these:
<goldstyle name="defaultstyle" isdefault="true"/>
<bluestyle name="mybluestyle" isdefault="false"/>
<greenstyle name="mygreenstyle" isdefault="false"/>
<silverstyle name="mysilverstyle" isdefault="false"/>

Any and all comments appreciated so that I can stop the frowning... :eek:
PS I Love Laszlo - Thanks folks :D :)

senshi
01-06-2007, 05:06 AM
I don't think you need to/can fix them.

First one is:
WARNING: 'menu' is already defined. Use 'lz.menu' instead.
Just ignore it until the Laszlo-Guys really know what to do about their new namespace "lz" (as e.g. "lz.menu").


Second One is:
ERROR: No eventSender (null) for onstylechanged
ERROR: No eventSender (null) for onstylechanged
ERROR: No eventSender (null) for onstylechanged
Just filed in JIRA, see http://www.openlaszlo.org/jira/browse/LPP-3400

benjamin
01-06-2007, 11:20 AM
WARNING: 'menu' is already defined. Use 'lz.menu' instead.

This is a bug. Filed as http://www.openlaszlo.org/jira/LPP-3401
What version of lps and what runtime do you see this in?

dmccay
01-06-2007, 11:21 AM
Hi senshi
Thanks for your info I will stay tuned I guess..
Love your work too :)

David

dmccay
01-06-2007, 11:26 AM
This is a bug. Filed as http://www.openlaszlo.org/jira/LPP-3401
What version of lps and what runtime do you see this in?
Hello Benjamin
I am running OpenLaszlo Server 4.0b1rc1 and by runtime I presume that you mean server, running Tomcat-5.0.24.
Using IE7 and Dreamweaver MX on XPsp2 if that assists..

David

dmccay
01-09-2007, 10:53 AM
Hi again
How will I know when this issue has been fixed folks?

I think it is causing my application to fail after an hour or so as I get a browser error stating that:
"A script in this Flash Application is causing your system to run slowly. Would you like to cancel it now"
If I click Yes then the app stops and I have to do a Refresh to restart it.
Has anyone else seen this when running a Laszlo App?

maverickbu
10-23-2007, 11:35 AM
Just for reference, I'm generating flash 7 and running OL 4.0.6 on TC 5.0.24 for windows and I'm having the same problem.

ptw
10-24-2007, 10:42 AM
http://jira.openlaszlo.org/jira/browse/LPP-3401