New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rumba offers no way to specify Conga's "rootname" property #45
Comments
Do you have time to go over this on a call? |
Ok, after a little investigation, more questions. Do we need Rumba to start with a fixed RootName like "Rumba" on the client (and/or the server)? This is easy, and it would allow other apps that use conga to run side by side. (But if this was the case, then the other app could just use its own name, and it would not interfere with Rumba hogging 'DEFAULT'. If we need Rumba itself to allow clients (and maybe servers) to run sinultaneously on separate instances of Conga, then we need to localize the reference to DRC (the result of Conga.Init). |
I think we could just put the reference to DRC inside the Client space and inside the server space. As I think everywhere we refer to ##.DRC, we by definition have a reference in hand of Rumba client or server. This is cleaner than having it global regardless. |
What is the use case for having multiple instances of Rumba clients objects using different instances of conga? |
The old (current) init function looks like:
The last line is a bit strange. This populates ALL instances of conga with a ref to ##.DRC. Anyone know what this is about? |
Hm. No idea. I've asked Bjørn and will report back. |
Done |
"rootname" allows to use Conga in the same workspace for two different applications, for example one acting as a web server and one acting as a Tatin client. Different "rootnames" make sure that both applications see only their own Conga "objects".
For the Tatin client this is so important that I had to introduce it, so in my Rumba fork
InitConga
not only accepts a path pointing to a folder that holds compatible Conga DLLs, it also allows specifying a "rootname", both as optional parameters.I also removed any calls to
InitConga
from any of the Rumba functions because my changes require Rumba to be initialized before she can actually use it.With different "rootnames" one has also to use different versions of the Rumba namespace because internally the result is always assigned to
DRC
. For Tatin that is not posing a problem since it lives in⎕SE
, but there could be a better solution.The text was updated successfully, but these errors were encountered: