Hi Maxime, There was no support for that, so I tried to write it last days. So you will find it attached but consider it as a first try to support this needs. The syntax is not "beautiful" but it should do the job:
<string>js:ExternalJSFileHelper.invoke("etc/functions.js",
"functionname", new Array( 2, 3 ))</string>
Regards,
--
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/
2012/4/2 Maxime Pelletier <[email protected]>
> Hi all,
>
> Is it possible to store some Javascript code as a function in an external
> file and then call it from lsc.xml file?
>
> I have some Javascript code to populate the same field in differents
> tasks and I have to duplicate it in each task.
>
> Thanks
>
> Maxime
>
>
> _______________________________________________________________
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected]
> http://lists.lsc-project.org/listinfo/lsc-users
>
>
ExternalJSFileHelper.java
Description: Binary data
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

