This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Mozilla XML > October 2005 > bug if using javascript with Xforms





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author bug if using javascript with Xforms
Adam FLinton

2005-10-15, 6:24 pm

Dear All,

I have been trying a number of javascript wysiwyg editors with Xforms
(i.e. to edit textareas) & I always get this error (e.g. using tiny mce):

Error: uncaught exception: [Exception... "Object cannot be created in
this context" code: "9" nsresult: "0x80530009
(NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location:
"file:///D:/Data/Hl7/XML/XForm/tinymce/jscripts/tiny_mce/tiny_mce.js
Line: 9"]


Any ideas?

I seems to work OK on IE with either the Novell or formsplayer plugin

Adam
Martin Honnen

2005-10-15, 6:24 pm



Adam FLinton wrote:


> I have been trying a number of javascript wysiwyg editors with Xforms
> (i.e. to edit textareas) & I always get this error (e.g. using tiny mce):
>
> Error: uncaught exception: [Exception... "Object cannot be created in
> this context" code: "9" nsresult: "0x80530009
> (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location:
> "file:///D:/Data/Hl7/XML/XForm/tinymce/jscripts/tiny_mce/tiny_mce.js
> Line: 9"]


Well then post the code, at least that line 9 which causes the error,
but we need to see the context too.
You will get that error for instance when createCDATASection is called
on an HTML document (where CDATA sections are not supported).

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews