Wednesday, April 27, 2011

Re: Loading thumbnails of images as links in gwt

I don't believe that's the full stack trace. A bit further down the screen it will probably give you
a hint as to what happened.

Alan


On 4/27/2011 6:22 AM, Patssay wrote:
> Hi,
>
> Well, on clicking the image reload the page with different widgets.
>
> I tried using the Clickhandler for the image but it threw a series of
> exception like
>
>
> com.google.gwt.event.shared.UmbrellaException: One or more exceptions
> caught, see full set in UmbrellaException#getCauses
> at
> com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:
> 214)
> at
> com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:
> 103)
> at
> com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
> 101)
> at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:103)
> at
> com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:
> 116)
> at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:
> 151)
> at com.google.gwt.user.client.ui.Image.onBrowserEvent(Image.java:
> 665)
> at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1310)
> at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1266)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> On Apr 22, 2:24 pm, Ben Imp<benlee...@gmail.com> wrote:
>> The Image class implements HasClickHandlers, so you can just tie into that
>> and do whatever you need to do when your handler gets called.
>>
>> -Ben

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment