I have upgraded to 7.1.0, and I have basic JavaScriptComponent as well as a corresponding CustomField working for CKEditor. But…
This popup window and tabsheet issue still persists even though it otherwise is working okay for the components added to to the UI’s layout. The editor is appearing in the window, but it’s not getting events passed around as expected. When I close the Window, this error appears, which no doubt is tied to the fact that my component somehow is not getting tied in:
Jun 27, 2013 6:03:20 PM com.vaadin.ui.ConnectorTracker cleanConnectorMap
WARNING: cleanConnectorMap unregistered connector org.yozons.vaadin.ckeditor.CKEditor(22) (parent: org.yozons.vaadin.ckeditor.CKEditorField(21)). This should have been done when the connector was detached.
Here’s the JavaScript console output when I click a Vaadin button that triggers opening the window and putting the editor in:
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Making UIDL Request with params: c4346147-7d7d-4e81-8ad7-5bd6f62b018d[["13","com.vaadin.shared.ui.button.ButtonServerRpc","click",[{"type":"1", "shiftKey":false, "ctrlKey":false, "altKey":false, "relativeY":"13", "clientX":"137", "relativeX":"119", "metaKey":false, "clientY":"787", "button":"LEFT"}]
]] 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Server visit took 17ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: JSON parsing took 0ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling message from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling resources from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling type inheritance map from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling type mappings from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling resource dependencies 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling meta information 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Creating connectors (if needed) 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Updating connector states 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling locales 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Updating connector hierarchy 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Sending hierarchy change events 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Running @DelegateToWidget 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Sending state change events 0.js:205
MyComponent creating CKEDITOR append to div id: VCKE_22; config: { extraPlugins : 'vaadinsave', removePlugins : 'elementspath,scayt', baseFloatZIndex : 11000, startupFocus : true } ckeditorForVaadin7.js:32
MyComponent created CKEDITOR: [object Object]
ckeditorForVaadin7.js:34
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: JavaScript connector initialized using org_yozons_vaadin_ckeditor_CKEditor 0.js:205
DEBUG: CKEditor onStateChange: editor id: cke_236; cid: 22; viewWithoutEditor: false; readOnly: false >>><<< ckeditor-connector.js:18
DEBUG: CKEditor component is not yet ready -- ignoring onStateChange ckeditor-connector.js:41
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Passing UIDL to Vaadin 6 style connectors 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Performing server to client RPC calls 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Unregistered 0 connectors 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: handleUIDLMessage: 30 ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Starting layout phase 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Measured 5 non connector elements 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Pass 1 measured 4 elements, fired 4 listeners and did 1 layouts. 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Did overflow fix for 1 elements 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Pass 2 measured 8 elements, fired 1 listeners and did 0 layouts. 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Did overflow fix for 1 elements 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Pass 3 measured 1 elements, fired 0 listeners and did 0 layouts. 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: No more changes in pass 4 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Total layout phase time: 33ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Processing time was 67ms for 2261 characters of JSON 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Referenced paintables: 19 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Making UIDL Request with params: c4346147-7d7d-4e81-8ad7-5bd6f62b018d[["19","v","v",["positionx",["i","149"]
]],["19","v","v",["positiony",["i","159"]
]],["22","com.vaadin.ui.JavaScript$JavaScriptCallbackRpc","call",["onInstanceReady",["4.1.2"]
]]] 0.js:205
DEBUG: editor.dataProcessor.writer.setRules tag: li; rule: {indent : true, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: p; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: h5; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: h4; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: h6; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: h1; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: h3; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
DEBUG: editor.dataProcessor.writer.setRules tag: h2; rule: {indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true} ckeditorForVaadin7.js:76
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Server visit took 41ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: JSON parsing took 0ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling message from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling resources from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling type inheritance map from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling type mappings from server 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling resource dependencies 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling meta information 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Creating connectors (if needed) 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Updating connector states 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling locales 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Updating connector hierarchy 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Running @DelegateToWidget 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Sending state change events 0.js:205
DEBUG: CKEditor onStateChange: editor id: cke_236; cid: 22; viewWithoutEditor: false; readOnly: false >>><<< ckeditor-connector.js:18
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Passing UIDL to Vaadin 6 style connectors 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Performing server to client RPC calls 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Unregistered 0 connectors 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: handleUIDLMessage: 8 ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Starting layout phase 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Measured 5 non connector elements 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Pass 1 measured 4 elements, fired 0 listeners and did 1 layouts. 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Pass 2 measured 1 elements, fired 0 listeners and did 0 layouts. 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: No more changes in pass 3 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Total layout phase time: 8ms 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Processing time was 20ms for 1717 characters of JSON 0.js:205
Thu Jun 27 18:01:12 GMT-700 2013 com.vaadin.client.VConsole
INFO: Referenced paintables: 19 0.js:205
I didn’t see much, but here’s what gets output when that window is then closed:
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Making UIDL Request with params: c4346147-7d7d-4e81-8ad7-5bd6f62b018d[["19","v","v",["close",["b",true]
]]] 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Server visit took 15ms 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: JSON parsing took 0ms 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling message from server 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling resources from server 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling type inheritance map from server 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling type mappings from server 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Handling resource dependencies 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling meta information 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Creating connectors (if needed) 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Updating connector states 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Handling locales 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Updating connector hierarchy 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Sending hierarchy change events 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Running @DelegateToWidget 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Sending state change events 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Passing UIDL to Vaadin 6 style connectors 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Performing server to client RPC calls 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: * Unregistered 5 connectors 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: handleUIDLMessage: 13 ms 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Starting layout phase 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Measured 2 non connector elements 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: No more changes in pass 1 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Total layout phase time: 17ms 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Processing time was 34ms for 262 characters of JSON 0.js:205
Thu Jun 27 18:03:20 GMT-700 2013 com.vaadin.client.VConsole
INFO: Referenced paintables: 14