migrating from Vaadin 6 to 7:
there are some new warnings in the console for a progress bar :
here is the code:
loadProgress = new ProgressIndicator();
loadProgress.setIndeterminate(true);
loadProgress.setPollingInterval(200);
mainPanel.addComponent(loadProgress);
...
// this is called when the process is done
loadProgress.setEnabled(false);
Hi, problem is that the client part is still sending the request even though the server side is already disabled. When the request arrives server side component is already disabled causing the warning.
Problem does not only limit to ProgressIndicator but to every component that does polling. There’s a ticket about that: http://dev.vaadin.com/ticket/10625
Currently, this is not vey dangerous but of course annoying. Hopefully it’ll be fixed soon.
I have no idea which button (or buttons, since the last line will reprint 8 times) causes this and why. I have a guess, since it might be 8 buttons at one. The buttons have a clickshortcut. And when clicked, data is loaded from db which takes some seconds.
I’ve tried to disable buttons when any button is pressed.(since the button is opening a modal window, and I dont want a quick user to press on a button and then on another).
I get a similar warning:
com.vaadin.server.communication.ServerRpcHandler.handleInvocations Ignoring RPC call for disabled connector