[jboss-user] [JBoss Portal] - Re: dojo + jboss portlets

Sonal K. do-not-reply at jboss.com
Thu May 31 00:44:34 EDT 2007


Its not showing my script.


		dojo.require("dojo.widget.Dialog");
		var dlg1;
		function byId(id)
		{
			return document.getElementById(id);
		}

		dojo.addOnLoad(function init() {

		dlg1 = dojo.widget.byId("compareDialog");
		var btn1 = document.getElementById("compare");
		var btn2 = document.getElementById("cancelcomp");
		dlg1.setCloseControl(btn1);
		dlg1.setCloseControl(btn2);
		});
	     

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049966#4049966

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049966



More information about the jboss-user mailing list