Did you find a solution? We are experiencing the same problem on our project.
On Feb 16, 8:10 am, whito <[email protected]> wrote: > Hi everyone, > > I have a problem with changing the location of application html file. > I want to have a custom directory layout in my web application, > something like this: > - html files directly under my web application root directory (eg. > <WEB_APP_ROOT>\main.html --> application entry point, loads > nocache.js) > - all gwt compiler generated files under "gwt-files" directory in web > app root (so all *.cache.html, nocache.js, images, etc. go under > <WEB_APP_ROOT>\gwt-files\ with no further subdirectires, so basically > I just rename the application directory from "mypackage.myapplication" > to "gwt-files") > > So the layout is the following: > <WEB_APP_ROOT>\main.html > <WEB_APP_ROOT>\gwt-files\*.cache.html > <WEB_APP_ROOT>\gwt-files\*.cache.png > <WEB_APP_ROOT>\gwt-files\*.nocache.js > <WEB_APP_ROOT>\gwt-files\gwt\standard\standard*.css > <WEB_APP_ROOT>\gwt-files\gwt\standard\images\*.png > <WEB_APP_ROOT>\gwt-files\gwt\standard\images\ie6\*.png > > I followed the steps in GWT > FAQ:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog... > > The problem is that if I move the html page that contains my GWT > application to the WEB_APP_ROOT, IE7 fails to displaydialogframes > correcly. The upper left corner and the right side images of thedialogframe > are missing. In the application html I load the > application like this: > <script type="text/javascript" language="javascript" src="gwt-files/ > <MY_APP>.nocache.js"></script> > > I'm sure that it finds the images referenced in the css, because the > buttons,dialogtitle and some parts of thedialogframe have the > proper backgroud image, only some part of the frame is missing, > although those are located in the same file as other parts of the > frame, in corner.png and vborder.png. > > If I put the application html (main.html) into gwt-files as well and > load the application with > <script type="text/javascript" language="javascript" > src="<MY_APP>.nocache.js"></script> > then the dialogs display correctly. > > With Firefox, it works well both cases. What am I doing wrong? I do > not use any special js, browser specific code, I can even reproduce > the problem with the default application generated by > applicationCreator script. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
