Hi,
What would be the smartest way to achieve the following:In a popup(or popin, or dialog for that matter) a javascript function is executed using 'Run Javascript' plugin.the javascript code in this case renders a OSM map. From within this javascript map i want to interact back to tersus. By looking at http://www.tersus.com/?Id=3241 i came to a solution using the following javascript code:
setCookie('Cookie Name',variable);var eventSpec = new tersus.Event('<New Event Name>');window.engine.handleEvent(window.rootDisplayNode,eventSpec);
And in the Tersus View i have an event handler that reads the cookie. This works, however the event can only be at the top display level. So in the View. But i need the received data in the popup started in step 1. Ofcourse i can also read the cookie from within the popup, but there, I wouldn't know when the user is done with the 'external' interaction.
Any ideas?See the attached project for a short example of what i am trying to achieve.
jSExample.tersus
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign