ClickHandler on ListBox. Problems in Safari and Chrome

92 views
Skip to first unread message

chfr

unread,
Jun 18, 2010, 6:16:55 PM6/18/10
to Google Web Toolkit
Hello,

I'm working on a small GWT application, but I'm experiencing a
problem.

When I add a ClickListener to a ListBox there is no functionality in
Safari and limited functionality in Chrome(both browsers in their
newest versions).

However in IE and Firefox everything is working fine so I'm wondering
where the problem is...

I wanted to ask if someone knows a workaround so that my application
can support all browsers.

best regards

chfr

Jeff

unread,
Jun 21, 2010, 3:39:26 AM6/21/10
to Google Web Toolkit
Hi,

What functionality exactly do Chrome & Safari miss? Don't they respond
to the "click" event at all, or is it deeper in your code?
I suppose you already tried it but just in case : start simple with a
<Window.alert("You clicked on the list!");> and then try to make it
more complex...

PS : sorry for my imperfect English, I'm French ^^

chfr

unread,
Jun 21, 2010, 5:19:51 PM6/21/10
to Google Web Toolkit
Hi Jeff,

thank you for your answer.

The application respond to clicks. For buttons there is no problem.

It also no problem to expand the list, but when I select items from a
list the application does not make the changes it should.

I think you are right - I need a more in depth investigation of the
problem.

Best regards

chfr

Jeff

unread,
Jun 22, 2010, 3:18:53 AM6/22/10
to Google Web Toolkit
Hi again,

So, your list responds to clicks...
Maybe if you posted what's exactly in your "onClick()" method I could
help you troubleshooting =/

PS : I've sent you another message, that was about using a handler
instead of a listener, 'cause listeners are deprecated. I write it
again for other readers because this message does not appear in our
conversation.

Regards,
Jeff
Reply all
Reply to author
Forward
0 new messages