| Subject: RichTextEditor integration problem | Author: J. Bergmann | Date: Tue, 28 February 2017 09:24 | 
	| Hi everybody, 
 i tried the RichTextEditorExample as standalone java class. It works fine.
 
 After that i used the example code to integrate RichTextEditor within a swt dialog that is called in a Eclipse PDE application.
 I get the following exception and only an empty text area is displayed:
 org.eclipse.swt.SWTException: "CKEDITOR" ist undefiniert
 at org.eclipse.swt.browser.WebBrowser$EvaluateFunction.function(WebBrowser.java:191)
 at org.eclipse.swt.browser.WebSite.Invoke(WebSite.java:774)
 at org.eclipse.swt.browser.WebSite$7.method6(WebSite.java:130)
 at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
 at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
 at org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
 at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:571)
 at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:534)
 at org.eclipse.swt.browser.IE.execute(IE.java:1205)
 at org.eclipse.swt.browser.WebBrowser.evaluate(WebBrowser.java:435)
 at org.eclipse.swt.browser.WebBrowser.evaluate(WebBrowser.java:394)
 at org.eclipse.swt.browser.Browser.evaluate(Browser.java:663)
 at org.eclipse.swt.browser.Browser.evaluate(Browser.java:610)
 at org.eclipse.nebula.widgets.richtext.RichTextEditor$3.completed(RichTextEditor.java:297)
 at org.eclipse.swt.browser.IE$7.handleEvent(IE.java:672)
 at org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTable.java:55)
 at org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEventSink.java:152)
 at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.java:120)
 at org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink.java:97)
 at org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSink.java:71)
 at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
 at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
 at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
 at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
 at org.eclipse.jface.window.Window.open(Window.java:803)
 at de.mypackage.MyDialog.open(MyDialog.java:182)
 
 I am using Mars Release (4.5.0) with an 64 Bit Java 1.8.
 
 It seems that the _javascript_ could't be executed. Any ideas?
 
 Best regards!
 
 | 
	| [ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ] |