We have a managed package. In order to implement a sandbox / release management process for our application we have made all our code dynamic.
We populate via a custom setting the name of the org's namespace.
[namespace.]controller.method( [parameters...,] callbackFunction, [configuration] );
Thanks in advance for your help.