rem: postCreate : function(){ var self = this;   dojo.event.connect(this.passwordInput, "onfocus",function(){self.loginFocus = true}); dojo.event.connect(this.passwordInput, "onblur",function(){self.loginFocus = false});     var button = dojo.widget.createWidget("cosmo:Button", { 	text: _("Login.Button.Ok"), width: 74, widgetId: "loginSubmitButton"  });  dojo.dom.prependChild(button.domNode, this.submitButton.parentNode); dojo.dom.removeNode(this.submitButton); this.submitButton = button; dojo.event.connect(this.submitButton, "handleOnClick",this, "doLogin");  dojo.addOnLoad(function(){self.usernameInput.focus()})  }, 
add: postCreate: function (){ var self = this; var button = dojo.widget.createWidget("cosmo:Button", { text: _("Login.Button.Ok"), width: 74, widgetId: "loginSubmitButton" } ); var logo = document.createElement('img');  this.submitButtonContainer.appendChild(button.domNode); this.submitButton = button;  logo.src = cosmo.env.getImagesUrl() + LOGO_GRAPHIC; this.logoContainer.appendChild(logo); dojo.event.connect(this.passwordInput, "onfocus", function () { self.loginFocus = true }); dojo.event.connect(this.passwordInput, "onblur", function () { self.loginFocus = false }); dojo.event.connect(this.submitButton, "handleOnClick", this, "doLogin"); dojo.addOnLoad(function(){self.usernameInput.focus()}) }, 
context: 		postCreate : function(){			var self = this;    		dojo.event.connect(this.passwordInput, "onfocus",function(){self.loginFocus = true});    		dojo.event.connect(this.passwordInput, "onblur",function(){self.loginFocus = false});			// Programmatic subwidget creation should be removed once safari supports			// widgetsInTemplate			var button = dojo.widget.createWidget("cosmo:Button",					{ 	text: _("Login.Button.Ok"),						width: 74,						widgetId: "loginSubmitButton"					});			dojo.dom.prependChild(button.domNode, this.submitButton.parentNode);			dojo.dom.removeNode(this.submitButton);			this.submitButton = button;    		dojo.event.connect(this.submitButton, "handleOnClick",this, "doLogin");			dojo.addOnLoad(function(){self.usernameInput.focus()})		},
meta: 1859	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1859/caaf52bc9334f250f0244b44a7b5e7fbc838434a/LoginDialog.js/clean/src/webapp/js/cosmo/ui/widget/LoginDialog.js