Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Issue relates to Button.setClickShortcut() as well as to AbstractField.addS
Me too have the same problem.Inside the popupview i am having one table after selecting any row without mouseclick ,If i press ENTER button i should invoke some actions .
but Button.setClickShortcut() and AbstractField.addShortcutListener is not working in popupView.But Button.setClickShortcut() is working in Application window.
Kindly If u find any solution for this reply quickly.
Thanks in Advance.
Yeah it seems that addShortcutListener doesn't work in a PopupView. And then addActionHandler for a Table doesn't work either (see ticket http://dev.vaadin.com/ticket/3738). But as a work-around you could wrap the returned Table to a Panel and add an action handler for that Panel.
panel.addActionHandler(new Action.Handler() {
public Action[] getActions(Object target, Object sender) {
return new Action[] { new ShortcutAction("Default key", ShortcutAction.KeyCode.ENTER, null) };
}
public void handleAction(Action action, Object sender, Object target) {
}
});