How to know what modules are loaded/???

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

How to know what modules are loaded/???

Postby gerardo.gomez » Wed May 12, 2010 10:36 am

Hi all!

I was looking for a function or property in Servoy to retrieve what modules (names of ~) are loaded in a solution, but I didn't see something like that... Somebody knows if exists some function to do this or a way to do this??

Thanks in advance!!!

Best regards,

Gerardo.
Best regards/Un saludo,

Gerardo Gómez
--
Servoy 5.1.4 build 964
Win7 - Java 1.6.0_20
Ubuntu 10.04 - Java 1.6.0_20
gerardo.gomez
 
Posts: 79
Joined: Thu Aug 20, 2009 1:15 am

Re: How to know what modules are loaded/???

Postby pbakker » Wed May 12, 2010 11:15 am

There is no such thing, as Modules are a designtime concept. At runtime, all your design (forms & methods) is packed together as one unit.

You can off course check if forms/global methods that reside in the modules exist.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: How to know what modules are loaded/???

Postby gerardo.gomez » Wed May 12, 2010 12:49 pm

pbakker wrote:There is no such thing, as Modules are a designtime concept. At runtime, all your design (forms & methods) is packed together as one unit.

Thanks for the answer Paul!

pbakker wrote:You can off course check if forms/global methods that reside in the modules exist.

Yes, we will do something like that...

Best regards,

Gerardo.
Best regards/Un saludo,

Gerardo Gómez
--
Servoy 5.1.4 build 964
Win7 - Java 1.6.0_20
Ubuntu 10.04 - Java 1.6.0_20
gerardo.gomez
 
Posts: 79
Joined: Thu Aug 20, 2009 1:15 am

Re: How to know what modules are loaded/???

Postby Karel Broer » Wed May 12, 2010 2:58 pm

gerardo.gomez wrote:I was looking for a function or property in Servoy to retrieve what modules (names of ~) are loaded in a solution, but I didn't see something like that... Somebody knows if exists some function to do this or a way to do this??

Hi Gerado,
I bounced into this a few years ago too. Patrick Ruhsert made a custom plugin for us with a function that returnes the active modules in an array (also on the client side).
You might send him a pm if he could help you getting this functionality one way or the other. :idea:
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Re: How to know what modules are loaded/???

Postby gerardo.gomez » Thu May 13, 2010 8:43 am

Hi Karel!

Thanks for your tip!!!

Best regards,

Gerardo.
Best regards/Un saludo,

Gerardo Gómez
--
Servoy 5.1.4 build 964
Win7 - Java 1.6.0_20
Ubuntu 10.04 - Java 1.6.0_20
gerardo.gomez
 
Posts: 79
Joined: Thu Aug 20, 2009 1:15 am


Return to How To

Who is online

Users browsing this forum: No registered users and 9 guests