Hi !I need to load one of widgets dynamically (as a response to certain URL parameter). I decided that the most suitable place to do it is HeaderControllerWidget:
if ((ViewerContainer.urlConfigParams.street != null && ViewerContainer.urlConfigParams.house != null) )
{
var addrWidgetID:Number;
var addrWidget:IBaseWidget;
addrWidgetID = ViewerContainer.getInstance().widgetManager.getWidgetId(addrWidgetLabel);
addrWidget = ViewerContainer.getInstance().widgetManager.getWidget(addrWidgetID,true);
return;
}
It works fine in IE10, Chrome and FF, but in the IE8/9 the widget is never loaded and cursor stays in the busy state. System is waiting, and when I load this widget manually - it continues to function properly.Here is the link: Test linkWhen cleaning the IE cache, the first run is successful, but only once. I tried to play with cache definitions without any success.Can somebody please shed light on this strainge behavior ?Thanks in advance.Regards,Gennady