DSP Generated page modification after full load
Author: richard.gill@agfa.com (richard.gill)
Hi
In our current work of making use of new Uniface RIA possibilities, we're faced to some technical needs. Even if we have solutions, some techniques seem difficult to implement without control on the client side (the browser), with the help of javascript. Now the details :-) :
For various reasons, we want to make direct ajax calls (in fact ajah/ajaj, with HTML or Json replacing xml). Not a difficult task in itself, but the problem is to assign elements with their ID : the page is loaded, any document.ready/onload and so on are called, and then dojo makes its voodoo to alter the page and map Uniface stuff. In the same vein, if I load through Ajax an url targeting a DSP, the map is not done, because I removed full page tags from the hts. So what I need is simple :
How to enable function calls after dojo made its page adjustments (so we can be sure we work on the final content), and how to manually force a mapping to occur when loading a DSP, knowing the content will be put in the current page (in a div), which already contains all dojo/uniface scripts ?
Thanks for interest,
Richard




