ListSelect: ClickListener

Hi all,

I wonder why ListSelect doesn’t have
, which is useful for e.g. capturing double clicks.

I see , but the below doesn’t work:

        listSelct.addListener(MouseEvents.ClickEvent.class, new MouseEvents.ClickListener() {
            public void click(MouseEvents.ClickEvent event) {
        }, MouseEvents.ClickListener.clickMethod);


I’d guess the reason is that it’s not been deemed necessary :slight_smile: The code you posted does not work because there’s nothing to send the click events from the browser to the server.

You could create an enhancement request ticket about this to the vaadin trac. Also, I think it might be possible to add the click listener on client side with an extension. See
this book chapter
for more info.


Thanks, created
Ticket 12206