public void onClick(final ClickEvent inArg0)
{
// Since the size of the image is required before we can correctly show the
// resize dialog, this method determines the avatar url and sets image url.
// The load event of that image being loaded will kick off the resize modal.
AvatarUrlGenerator urlGenerator = new AvatarUrlGenerator(EntityType.PERSON);
hiddenImage.setUrl(urlGenerator.getOriginalAvatarUrl(avatarId));
}
});
hiddenImage.addLoadHandler(new LoadHandler()
{
public void onLoad(final LoadEvent inEvent)