[Dojo-interest] IE problem with ioArgs on dijit.layout.ContentPane with remote content

eva eva at troels.org
Thu Aug 18 07:10:32 EDT 2011


The code below works:

var cp = new dijit.layout.ContentPane({
		title: item.label,
		closable: true,
		postCreate: function() { 
			var loadCallback = dojo.hitch(this, function(data) {
			                             dojo.byId(this.id).innerHTML = data;
      						     dojo.parser.parse(this.id);
        		});
			var xhrGetArgs = {
					url: item.url+"?fragments=main",
					headers: { Accept: 'text/html;type=ajax'},
					load: loadCallback
			};
			var deferred = dojo.xhrGet(xhrGetArgs);
		}							
	})
	tabContainer.addChild(cp);

I'll live with this solution but still thinks that there is a bug in the
ContentPane when dealing with href and ioArgs in IE.

/Eva

-----
Eva Troels

http://www.linkedin.com/in/evatroels
--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/IE-problem-with-ioArgs-on-dijit-layout-ContentPane-with-remote-content-tp3248759p3264553.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.


More information about the Dojo-interest mailing list