How to: Wrap global methods in the runtime

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

How to: Wrap global methods in the runtime

Postby agiletortoise » Tue Jul 22, 2008 4:42 am

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.
Greg Pierce
Agile Tortoise
SAN Developer
http://www.agiletortoise.com
User avatar
agiletortoise
 
Posts: 278
Joined: Wed Oct 12, 2005 3:26 pm
Location: Texas, USA

Return to How To

Who is online

Users browsing this forum: No registered users and 7 guests