Hi,
We are working on small Java robotics project (www.RoboHobby.com)
And we use GWT as a web-based front end for for remote control for
remote control for our robotics project.
(http://www.robohobby.com/web_remote_control_for_robotics_gwt.jsp)
QUESTION:
It seams that there is a bug in ClickListener handler when you use it
with Image.
The code, like this is not working with GWT 1.5.x.
Image myImage = new Image();
myImage.setUrl( "url_to_myImage/myImage.jpg" );
myImage.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
//Do something, like:
//myLabel.setText( "Hello from
myImage.addClickListener()!");
}
});
The code like this is work normal way with GWT 1.4.x (1.4.6, etc.).
But it doesn't work with new versions – 1.5.3, 1.5.1, etc.
Do you see such a problems in your projects?
Or, may be there is another reason of such a problem?
addClickListener() works good with Button, but not with Image.
Technically it is possible to use a lot of buttons instead of images,
but the page as a result looks not very good.
Do you see such a bugs in your projects?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---