Undefined Method

11 views
Skip to first unread message

Guillaume

unread,
Jul 7, 2011, 7:32:48 AM7/7/11
to openmeet...@googlegroups.com
Hi Sebastian,

In reference to my new tool in the toolbar, I have implemented a new class (baseDrawMath.lzx in modules/conference/whiteboard/base) which very similary to baseDrawLetter (in order to test for the moment) and new methods.

I want to use new methods in baseDrawSave.lzx but when I click on my tool, I have this error message with the debug version  and nothing is displayed:

"ERROR@modules/conference/whiteboard/base/baseDraw.lzx~702 : call to undefined method startMath"
"ERROR@modules/conference/whiteboard/base/baseDraw.lzx~703 : call to undefined method getMouse"
"ERROR@modules/conference/whiteboard/base/baseDraw.lzx~703 : call to undefined method getMouse"
....
"ERROR@modules/conference/whiteboard/base/baseDraw.lzx~703 : call to undefined method endMath"

However, I have added this instruction : "include href="baseDrawMath.lzx" in base/library.lzx" in order to can use the definition of my class in other classes.

But I don't know what is the problem.

Have you got any idea ?

Thanks for your time
Best Regards

Guillaume

seba....@gmail.com

unread,
Jul 7, 2011, 7:39:55 AM7/7/11
to openmeet...@googlegroups.com

Simply adding this class in the library file is not enouth. Did you see those extend attributes in the other basedrawxyz.lzx classes?  Your methods are not in the whiteboard object yet.

Sebastian

> --
> You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/openmeetings-user/-/o6Ma8JVeu80J.
> To post to this group, send email to openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
>
Reply all
Reply to author
Forward
0 new messages