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.
problem with handle action
I find a problem with the method handleAction:
public void handleAction(Action action, Object sender, Object target) {
LOGGER.info("anskjanzkjsnzkajnsk",action+" "+sender+" "+target);
if (ACTION_MARK == action) {
markedRows.add(target);
table.refreshRowCache();
LOGGER.info("ACTION_MARK" +ACTION_MARK);
} else if (ACTION_UNMARK == action) {
markedRows.remove(target);
table.refreshRowCache();
LOGGER.info("ACTION_UNMARK" +ACTION_UNMARK);
} else if (ACTION_LOG == action) {
Item item = table.getItem(target);
addComponent(new Label("Saved: "
+ target
+ ", "
+ item.getItemProperty(
ExampleUtil.iso3166_PROPERTY_NAME)
.getValue()));
}
}
});
this method can't handles any action..
Have you attached the action handler to a window or something similar? Does it ever get into the method?
the probleme is never get into the method.
the handler action is attached to a table.