Page 1 of 1

How to: Wrap global methods in the runtime

PostPosted: Tue Jul 22, 2008 4:42 am
by agiletortoise
Been playing with all the cool things you can do with JavaScript in Servoy 4.

Here's an example of how you can replace take a global method, and replace it live your running solution with one that's been wrapped in 'before' and 'after' callbacks...

http://greg.agiletortoise.com/2008/07/2 ... l-methods/

Enjoy!

greg.