Hi All.
I'm doing and application that load a custom leaflet map in a urlframe (maps it's loading and working fine), this map create a custom points/poligons and i need to detect when the user click this points and show a unigui custom dialog.
The problem it's that how to know the jsname of urlframe (inside javascript) to fire the ajaxrequest and catch the event in unigui application.
i can see that urlfame1.jsname it's O2A, and if i put this name in ajaxrequest i can catch the event
Hello,
One possible solution.
See this demo: \FMSoft\Framework\uniGUI\Demos\Desktop\ClientEvents-HtmlToAjax
function beforeInit(sender, config)
{
config.id = '_HTMLFrame';
}
HTML:
<script>
function callServer(elmnt, event) {
var HTMLFrame = Ext.getCmp("_HTMLFrame");
var params=[];
switch (elmnt.type) {
case "text":
case "password":
params = ["id="+elmnt.id, "val="+elmnt.value, "xevent="+e