Okay. So the quickest fix is probably to just copy scrollTableLoading.gif
into war/.
The problem is that PagingOptions refers to the image like so:
loadingImage = new Image("scrollTableLoading.gif");
Where it should probably be:
loadingImage = new Image(GWT.getModuleBaseURL() + "scrollTableLoading.gif");
I can put in a quick patch for this later.
On Thu, Jun 18, 2009 at 11:06 AM, hezjing <[email protected]> wrote:
>
> Yes, the scrollTableLoading.gif is found in war/[module name] directory.
> The HTML file is in war/ directory.
>
> On Thu, Jun 18, 2009 at 10:49 PM, Isaac Truett <[email protected]> wrote:
>>
>> On Thu, Jun 18, 2009 at 10:29 AM, hezjing <[email protected]> wrote:
>> >
>> > Hi Isaac
>> > I'm using Google plugin, how do I check if the -noserver is set?
>>
>> The "Run built-in server" checkbox would be unchecked under the
>> Embedded Server in the run/debug profile.
>>
>>
>> > Anyway, I guess by default there is no -noserver :-)
>>
>> Yep.
>>
>> > I don't have to deploy the images myself since they are already found
in war\WEB-INF\lib\gwt-incubator-march-02-2009.jar, right?
>> >
>>
>> Yes and no. The image needs to be served up like any other image from
>> a web server, so it has to be in a public directory (unless you're
>> serving up images yourself, such as with a Servlet). The GWT
>> compilation process should take care of moving images into the right
>> place normally, so you wouldn't need to do that yourself. The image
>> should be located at war/[module name]/scrollTableLoading.gif, giving
>> it a URL path of /[module name]/scrollTableLoading.gif. But from your
>> original post, it looks like /scrollTableLoading.gif is being
>> requested (without the module name). Something's off in the relative
>> paths. Where's the HTML file that loads your module? Is there a
>> scrollTableLoading.gif in war/[module name]/ or anywhere else under
>> war/ outside of the incubator jar?
>>
>>
>>
>> > Thanks for your help!
>> >
>> >
>> > On Thu, Jun 18, 2009 at 10:12 PM, Isaac Truett <[email protected]>
wrote:
>> >>
>> >> Well... it's a 404, so the URL doesn't map to anything. Are you
running with -noserver? If so, did you deploy the image to your server in
the proper location?
>> >>
>> >> On Tue, Jun 16, 2009 at 9:39 PM, hezjing <[email protected]> wrote:
>> >>>
>> >>> Hi Isaac
>> >>> Hmmm ... you're right, the scrollTableLoading.gif is found
in gwt-incubator-march-02-2009.jar.
>> >>> Then, do you have any idea why is it showing 404 warning while trying
to load scrollTableLoading.gif?
>> >>>
>> >>> On Wed, Jun 17, 2009 at 4:30 AM, Isaac Truett <[email protected]>
wrote:
>> >>>>
>> >>>> Are you sure you're looking in the right place? There are copies of
>> >>>> scrollTableLoading.gif located in com/google/gwt/gen2/table/public
and
>> >>>> com/google/widgetideas/table/public
>> >>>>
>> >>>>
http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/gen2/table/public/scrollTableLoading.gif
>> >>>>
>> >>>>
http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/widgetideas/table/public/scrollTableLoading.gif
>> >>>>
>> >>>>
>> >>>> On Tue, Jun 16, 2009 at 12:56 PM, hezjing<[email protected]> wrote:
>> >>>> > Hi
>> >>>> > Apparently, the scrollTableLoading.gif is the image display next
to the last
>> >>>> > button while loading the data.
>> >>>> > You will see this image if table is taking long time to load the
data.
>> >>>> > scrollTableLoading.gif does not comes with the GWT incubator
distribution,
>> >>>> > you need to manually create one.
>> >>>> >
>> >>>> >
>> >>>> > On Sun, Jun 7, 2009 at 2:02 PM, hezjing <[email protected]> wrote:
>> >>>> >>
>> >>>> >> Hi
>> >>>> >> While I'm testing the PagingScrollTable, the hosted mode console
complaint
>> >>>> >> the following warning:
>> >>>> >> [WARN] 404 - GET /scrollTableLoading.gif (127.0.0.1) 1408 bytes
>> >>>> >>
>> >>>> >> May I know why is this warning?
>> >>>> >> Should we create this scrollTableLoading.gif?
>> >>>> >>
>> >>>> >> --
>> >>>> >>
>> >>>> >> Hez
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> > --
>> >>>> >
>> >>>> > Hez
>> >>>> >
>> >>>> > >
>> >>>> >
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>>
>> >>> Hez
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> >
>> > Hez
>> >
>> > >
>>
>>
>
>
>
> --
>
> Hez
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---