Third Party JavaScript Libraries

Questions, answers, tips and ideas on Servoy Client

Third Party JavaScript Libraries

Postby juliaaano » Fri Apr 03, 2009 2:00 am

Is it possible to add external JavaScript libraries into Servoy? If so, how to do it?

Thanks.
Juliano Mohr
Information Analyst
The Service Manager (TSM)
Email: jmohr@theservicemanager.com
Website: http://www.theservicemanager.com
juliaaano
 
Posts: 66
Joined: Wed Apr 01, 2009 2:00 am
Location: Australia

Re: Third Party JavaScript Libraries

Postby agiletortoise » Fri Apr 03, 2009 4:33 pm

I have adapted several 3rd party library for Servoy as modules (see my developer page for info ( http://blittle.us/3Tfi ). There is not a place to just drop a file and have it loaded. You have to bring the code into a Servoy method and execute the method, which usually only requires minor tweaking, assuming the content of the library doesn't use objects that aren't available in Servoy (like DOM references).
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

Re: Third Party JavaScript Libraries

Postby juliaaano » Tue Apr 07, 2009 5:32 am

Excellent!

When I first post this topic was because I was looking a way to use Date.js in my Servoy solution, and it happens that the website you provided has an implementation of the library for Servoy. :D

Thank you!
Juliano Mohr
Information Analyst
The Service Manager (TSM)
Email: jmohr@theservicemanager.com
Website: http://www.theservicemanager.com
juliaaano
 
Posts: 66
Joined: Wed Apr 01, 2009 2:00 am
Location: Australia

Re: Third Party JavaScript Libraries

Postby agiletortoise » Tue Apr 07, 2009 3:18 pm

Glad I could help. :-)
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 Servoy Client

Who is online

Users browsing this forum: No registered users and 9 guests