rickilama54 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Missing a image file #395

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[WARN] 404 - GET
/test/sc/skins/Enterprise/images/ListGrid/header_menu_Disabled.png

To reproduce this error, you need to disable a listgrid..

I checked, and the others skins also don't have this file..

Original issue reported on code.google.com by glebi...@gmail.com on 26 Jan 2010 at 8:00

GoogleCodeExporter commented 8 years ago
Which version of SmartGWT are you using? Always mention this.  Unable to 
reproduce with SmartGWT 2.0. In the 
smartgwt showcase select the "Disabled Mode" checkbox and open a sample that 
has a grid. You'll notice that 
the headers display fine with no 404 requests.

Original comment by sanjiv.j...@gmail.com on 27 Jan 2010 at 12:44

GoogleCodeExporter commented 8 years ago
Sorry, forgot to mention, i'm using the version 2.0 too..

I'm not at work now, so i can't test, but this warning happened every time i 
disable
the window with the grid..

Original comment by glebi...@gmail.com on 27 Jan 2010 at 12:51

GoogleCodeExporter commented 8 years ago
Post a minimal test case if you are able to reproduce it. As mentioned earlier, 
I am not able to reproduce it with 
the showcase.

Original comment by sanjiv.j...@gmail.com on 27 Jan 2010 at 1:11

GoogleCodeExporter commented 8 years ago
I found out what the problem is, you have to click in the header(to order by 
field)
of the grid before disable to get the 404 request.. For some reason in my 
project it
happens every time you disable the grid..

Here is the minimal test case: 

public void onModuleLoad() {
    final TreeGrid g = new TreeGrid();
    g.setWidth(200);
    g.setHeight(200);

    final Button b = new Button("disable");
    b.addClickHandler(new ClickHandler(){
        @Override
        public void onClick(ClickEvent event) {
            if(g.isDisabled()){
                b.setTitle("disable");
                g.enable();
            }else{
                b.setTitle("enable");
                g.disable();
            }
        }
    });

    HStack h = new HStack(10);
    h.setMembers(g,b);
    h.draw();
}

Original comment by glebi...@gmail.com on 28 Jan 2010 at 6:28