Reputation: 311
after migration from Vaadin 7.0.3 to Vaadin 7.1.8, Vaadin client side produce Exception when mouseenter/mouseleave event over Chrome plugin (NPAPI plugin).
creation plugin object code:
Label pluginContainer = new Label("<OBJECT ID=\"chromePluginObj\" NAME=\"chromePluginObj\" WIDTH=\"100%\" HEIGHT=\"100%\" type=\"application/x-umekcc\"></OBJECT>", ContentMode.HTML);
pluginContainer.setWidth("100%");
pluginContainer.setHeight("1115px");
pluginContainer.setStyleName("htmlLabel");
addComponent(pluginContainer);
screenshot of app:
when trigger mouseenter/mouseleave on plugin object:
also when i open window (vaadin window) or make other UI changes, vaadin ?recreate? my object, and browser send NPP_Destroy event to NPAPI plugin, and its destroy:
Maybe there is a possibility to specify Vaadin not recreate my NPAPI plugin object?
also apologize for my bad English))
Upvotes: 2
Views: 524
Reputation: 9910
This kind of problem can be caused by a corrupted widgetset. Flush your webapp's VAADIN
directory, then recompile the widgetset. If this doesn't help: recompile the widgetset without the pretty
option instead of obfuscate
to get more information about where in the JavaScript code the clientside exception occurrs.
Upvotes: 1