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!


To participate in the discussion, go here: 
https://www.eclipse.org/forums/index.php?t=rview&frm_id=64
_______________________________________________
nebula-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to