PDA

View Full Version : ExtJS.com Login Screen



sideeque
24 May 2010, 9:01 AM
I use Ext JS 3.2.0 version

When I do refresh with one of the screen developed using Ext JS, its showing a popup to login extJS.com

I have attached the screen. it's not showing up all the time. It's showing up some time and very rarely and for some developers only. I still didn't get exact flow in which this login screen popup.

I do get this screan recently when I upgraded from ext JS 3.1.1 to 3.2.0. Is something else I need to do or missing to avoid this screen?

Does anybody got this type screen.

tryanDLS
24 May 2010, 9:12 AM
Have you looked at firebug to see what requests are going there? Where is your BLANK_IMAGE_URL ref pointing?
http://www.extjs.com/forum/showthread.php?3318-BLANK_IMAGE_URL-a-simple-explanation

http://extjs.com/learn/Ext_FAQ

mxracer
24 May 2010, 9:15 AM
Have you set?

Ext.BLANK_IMAGE_URL = '../My/Path/To/Image/blank.gif';

View the docs (http://www.extjs.com/deploy/dev/docs/?class=Ext) for more info on this.

Excerpt: URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. In older versions of IE, this defaults to "http://extjs.com/s.gif" and you should change this to a URL on your server. For other browsers it uses an inline data URL.

There was another thread in the forum discussing this.

mankz
24 May 2010, 9:19 AM
This is the thread:

http://www.extjs.com/forum/showthread.php?99694-Open-Source-ExtJS-package-now-ASKED-for-Username-and-Password!&p=469570#post469570

sideeque
24 May 2010, 9:43 AM
I was testing in IE and couldn't find firebug to see the request. I will keep you updated if I get same when I try in Firefox.

I think this is related to Ext.BLANK_IMAGE_URL.

I do see in IE bottom progress bar that "Downloading Picture http://extjs.com/s.gif". I have attached that portion also now.

Is this solve, if I add below line?

Ext.BLANK_IMAGE_URL = '';

What is the alternative location of image I need to provide instead of "s.gif" ? What is this GIF file all about?

I have added now with following code, Let me see if I get the login screen again.
Ext.BLANK_IMAGE_URL = '/extjs320/resources/images/default/s.gif';

danguba
24 May 2010, 11:11 PM
Just point it to location of s.gif on your server. In my case it is

Ext.BLANK_IMAGE_URL = './ext/resources/images/default/s.gif';

sideeque
27 May 2010, 1:48 PM
I have tried with Ext.BLANK_IMAGE_URL = '/extjs320/resources/images/default/s.gif'; and Ext.BLANK_IMAGE_URL = '';

Both are working and login screen doesn't appear. But the UI is not rendering properly, if I add above code.

Please look at my ComboBox "V" image getting scattered and not displaying properly. Same thing happens to date Picker as well.

I have attached before and after images of the combo.

Can anybody tell whats the exact fix for this issue? This seems if we overwrite Ext.BLANK_IMAGE_URL from Extjs.com location, it wont render properly.