Hi
In Vaadin 6.5.3 there seams to be a bug in ColorPicker. If the ColorButton is presed again while the ColorPickerPopup is still open, the folowing error will orcure. Does someone have a workaround to use the otherwise cool plugin?
java.lang.NoSuchMethodError: com.vaadin.ui.Window.removeWindow(Lcom/vaadin/ui/Window;)V
14:36:01,084 ERROR [STDERR]
at com.vaadin.addon.colorpicker.ColorPicker.changeVariables(Unknown Source)
14:36:01,084 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1297)
14:36:01,084 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1217)
14:36:01,084 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:733)
14:36:01,084 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
14:36:01,084 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:483)
14:36:01,084 ERROR [STDERR]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
ColorPicker used this way:
colorPicker =new ColorPicker("Server color", Color.LIGHT_GRAY);
colorPicker.setButtonCaption(null);
colorPicker.setButtonStyle(ColorPicker.ButtonStyle.BUTTON_AREA);
TIA
Kasper