Revision history [back]

click to hide/show revision 1
initial version

answered 2011-07-12 02:09:48 +0800

windeyu gravatar image windeyu flag of United States

Hi Benbai, Thank you very much for the pointer. I tried the latest build (zk-CKEditor-bin-3.6.0.0-FL-2011-07-12.zip). I cleared my IE9 cache, but I still got the following javascript error. "Failed to process rm Unable to get value of the property 'innerHTML': object is null or undefined (TypeError)."

I have code like below

<button id="newButton" label="New">
    <attribute name="onClick">
        Window win = (Window) Executions.createComponents("post.zul", null, null);
    win.doModal();
    </attribute>
</button>

post.zul

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
    <window id="postWin" title="New Post" width="600px" height="330px" border="normal" position="center" closable="true">
        <zscript><![CDATA[
            void onClose() {
                postWin.detach();
            }
        ]]></zscript>
        <ckeditor id="editor" width="580px" height="260px">
        </ckeditor>
        <button label="Close" onClick="onClose();"/>
    </window>
</zk>

When I close the modal window, I get the js error. Thanks.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More