On 16 fév, 13:10, whito <[email protected]> wrote:
>
> 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 display dialog frames
> correcly. The upper left corner and the right side images of the
> dialog frame 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, dialog title and some parts of the dialog frame 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.

See http://code.google.com/p/google-web-toolkit/issues/detail?id=3278

The problem is the use of AlphaImageLoader for PNG transparency in IE,
which resolves paths relative to the page, not the CSS. This is solved
in 1.6 by getting rid of AlphaImageLoader in the 3 default themes
(using binary transparency in IE6, IE7 supports PNG transparency
without AlphaImageLoader)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to