Thanks Sumit.

Yes, I've read the FAQ to no avail. I've included clear.cache.gif and other
necessary resources in the server. The ImageBundle images simply won't
appear in my hosted browser.

To make sure that I do not miss out anything, I run my normal compile script
to transfer all the client side resources to the server side. This will make
sure that all the resources specified in the FAQ are made available in the
server. Under this environment, I've no problems with accessing the
application via a normal browser. But when I access it via hosted browser
with -noserver option, the images in ImageBundles do not appear (ie. are
transparent). The placeholders for the images are there though, ie. I can
click on it and they receive Click Events. Just that they are all
transparent.


On Thu, Oct 23, 2008 at 6:25 AM, Sumit Chandel <[EMAIL PROTECTED]>wrote:

> Hi JY,
> Did you also remember to host the clear.cache.gif file on your server while
> using hosted mode with the -noserver option? You should double-check to make
> sure that you've copied the resource over to your web server otherwise the
> ImageBundle technique won't work.
>
> Also, as a reference for other resources you might need to copy and steps
> you need to follow to run hosted mode with the -noserver option, please
> check out the FAQ (link below) to make sure there aren't any other missing
> steps to run in hosted mode with -noserver.
>
> Using hosted mode with the -noserver option:
>
> http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=FAQ_HostedModeNoServer
>
> Hope that helps,
> -Sumit Chandel
>
> On Mon, Oct 20, 2008 at 10:14 AM, JY <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> All images from my ImageBundle no longer appear in hosted mode when I
>> use the -noserver flag. Everything else works fine.
>>
>> I've read this thread to no avail:-
>>
>> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/991985d6e22a5d6c/49ac67d8ad5ff48a?lnk=gst&q=noserver+image#49ac67d8ad5ff48a
>>
>> In particular, I've made sure that the mosaic .png image is available
>> in my own server, hosted at the same dir as the main html and js
>> files.
>>
>> For example, if this is the URL in my hosted mode browser:-
>> http://localhost:8080/main.html
>> I'm able to access my mosaic file at
>> http://localhost:8080/70E6A40FF1B3B30F365C2323E43B518C.cache.png
>>
>> However, the images from the bundle just do not appear in my app
>> within the hosted browser.
>>
>> Any clues on what might be the problem? I'm using GWT 1.4.60.
>>
>> Thanks.
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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