hi all. I am trying to implement the onclick handler of the button that i am
creating with lz. namespace.
When i use the way below, i see the debug message while the button is being
created(isnT it weird ?) and when i click the button, getting this error on
the debugger :
ERROR @views/LaszloView.lzs≈2684: ReferenceError: Error #1069: could not
find ready property on LzInfo and no default value...
<attribute name="room1" value="null"/>
<method name="createRoom" args="roomName">
var url = URL.text;
room1= new lz.button(canvas, {
text : roomName,
xoffset : -20,
onclick : Debug.info("room url : %w")
});
</method>
And another important question, am i trying the right way to implement the
onclick handler in this way :)
Kind regards
--
Cem SONMEZ