by Callum George >> Mon, 14 Feb 2005 21:34:49 GMT
I've got two jade applications. By double clicking an item in a table in the first application it opens the second application with the object associated with that table item preloaded. This is supposed to work in exactly the same manner as painter does from a jade development environment (when you right click the painter button in the dev environment while a form class is selected it opens painter with that form preloaded, and if painter is already running it loads the form in that running instance of painter).
The problem I'm facing is that I don't know how to load the object into the second application if the second application is already running.
Has anyone done this before? If so can you give me any tips?
More Info:
I use the method app.startApplicationWithParameter to start the second application and it returns a reference to the started process. However there is not much I can do with this reference. I was hoping I could get a reference to the application class instance of the process and send it a message to load the object. I have noticed that you can get a reference to the application class object from the process in Jade 6 using processReference.getProcessApp but I'm using Jade 5.
In saying that I'm not actually sure that I'm on the right track and have also thought of the possibility of using notifications.