Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
3279 Points
93 Posts
Microsoft
Sep 19, 2005 07:39 PM|LINK
You need to register the base method in the ArrayList class.
Juicy.Collections.ArrayList.registerBaseMethod(this, 'add');
Then your callBaseMethod should start resolving. However, you need to make one more small tweak - the arguments to the base method are passed as an array of arguments. So you would have:
Juicy.UI.TabPageCollection.callBaseMethod(this, 'add', [tabPage]);
NikhilKo
Contributor
3279 Points
93 Posts
Microsoft
Re: Question about Overriding Methods
Sep 19, 2005 07:39 PM|LINK
You need to register the base method in the ArrayList class.
Juicy.Collections.ArrayList.registerBaseMethod(this, 'add');
Then your callBaseMethod should start resolving. However, you need to make one more small tweak - the arguments to the base method are passed as an array of arguments. So you would have:
Juicy.UI.TabPageCollection.callBaseMethod(this, 'add', [tabPage]);
Weblog: http://www.nikhilk.net
Twitter: @nikhilk