All: I am trying to get the HTML Editor control for use in a textarea. In Firefox, the editor displays correctly (and other controls operate as expected). In IE, the red Loading ... flag comes up, but the JavaScript appears not to complete, the textarea briefly displays, but the HTML editor doesn't show, instead just displaying an empty area of the screen. Also, if the xforms has an HTML editor-type textarea, other controls may not operate correctly -- for instance, xforms events may not be, apparently, generated. The xforms seems simple: this case has the problem here: <?xml version="1.0" encoding="UTF-8"?> <xhtml:html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtml ../../plugins/com.oxygenxml.editor_7.2.0/frameworks/xhtml11/schema/xhtml-basic-form-1.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <xhtml:head> <xhtml:title>New Issue</xhtml:title> <xforms:model> <xforms:instance id="issue"> <data> <body/> </data> </xforms:instance> </xforms:model> </xhtml:head> <xhtml:body> <xforms:group ref="/data"> <xforms:textarea ref="body" mediatype="text/html"> <xforms:help>Some help text</xforms:help> </xforms:textarea> </xforms:group> </xhtml:body> </xhtml:html> Also, when I try any example in the xforms sandbox at orbeon.com, I only ever get a simple textarea, withouth the HTML editor controls ... I assume I've done something wrong ... TIA for any help. Regards Nigel Nigel Harrison LeSoftCo Limited -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Nigel,
Your example works fine for me with the latest code. Initial load on IE is not fast though, and I see that the editor is loading a huge number of files. The version of OPS on http://www.orbeon.com/ops/ is fairly old and does not yet support the text/html mediatype on xforms:textarea. -Erik [hidden email] wrote: > > All: > > I am trying to get the HTML Editor control for use in a textarea. In > Firefox, the editor displays correctly (and other controls operate as > expected). In IE, the red Loading ... flag comes up, but the JavaScript > appears not to complete, the textarea briefly displays, but the HTML > editor doesn't show, instead just displaying an empty area of the > screen. Also, if the xforms has an HTML editor-type textarea, other > controls may not operate correctly -- for instance, xforms events may > not be, apparently, generated. > > The xforms seems simple: this case has the problem here: > > <?xml version="1.0" encoding="UTF-8"?> > <xhtml:html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.w3.org/1999/xhtml > ../../plugins/com.oxygenxml.editor_7.2.0/frameworks/xhtml11/schema/xhtml-basic-form-1.xsd" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xhtml="http://www.w3.org/1999/xhtml"> > <xhtml:head> > <xhtml:title>New Issue</xhtml:title> > <xforms:model> > <xforms:instance id="issue"> > <data> > <body/> > </data> > </xforms:instance> > </xforms:model> > </xhtml:head> > <xhtml:body> > <xforms:group ref="/data"> > <xforms:textarea ref="body" mediatype="text/html"> > <xforms:help>Some help text</xforms:help> > </xforms:textarea> > </xforms:group> > </xhtml:body> > </xhtml:html> > > Also, when I try any example in the xforms sandbox at orbeon.com, I only > ever get a simple textarea, withouth the HTML editor controls ... > > I assume I've done something wrong ... > > TIA for any help. > > Regards > > Nigel > > > Nigel Harrison > LeSoftCo Limited > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik: Thanks for your reply. I can happily (although slowly) open the FckEditor samples in IE, from the fckeditor directory inside tomcat/webapps/WEB-INF/resources/ops: that is, the directory from which OPS is presumably getting the editor resources. It does seem to load many files, presumably its icon images. Also, my sample looks correct (and opens much more quickly) in Firefox. My IE says it is version 6.0.2900, and I think it was what came with Windows XP SP2, if that makes any difference. Incidentally, I notice that the version 2.3 of FckEditor opens roughly 30% faster than the version 2.2 that is embedded in OPS with IE (and a little quicker with Firefox). Would it be straightforward to update the version that is used? If you think it should be (if Orbeon hasn't modified the FckEditor code, for example), I could try that out. I will try to download the latest code and retry, and let you know. Regards Nigel Nigel Harrison LeSoftCo Limited -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Erik: I can confirm that the HTML Editor works correctly with a fresh build of OPS from CVS. Incidentally, it seems as if FckEditor version 2.3 somehow only downloads one file of icons for the whole Toolbar, presumably by compressing the data together, which presumably is what makes it load faster. Thanks again. Regards Nigel Nigel Harrison LeSoftCo Limited +44 (0) 1594 546120 Vantage Point Business Village Mitcheldean GL17 0DD UK [hidden email] wrote: > Erik: > > Thanks for your reply. I can happily (although slowly) open the FckEditor samples in IE, from the fckeditor > directory inside tomcat/webapps/WEB-INF/resources/ops: that is, the directory from which OPS is presumably > getting the editor resources. It does seem to load many files, presumably its icon images. Also, my sample > looks correct (and opens much more quickly) in Firefox. My IE says it is version 6.0.2900, and I think it > was what came with Windows XP SP2, if that makes any difference. > > Incidentally, I notice that the version 2.3 of FckEditor opens roughly 30% faster than the version 2.2 that > is embedded in OPS with IE (and a little quicker with Firefox). Would it be straightforward to update the > version that is used? If you think it should be (if Orbeon hasn't modified the FckEditor code, for > example), I could try that out. > > I will try to download the latest code and retry, and let you know. > > Regards > > Nigel > > Erik Bruchez <[hidden email]> wrote on 19/07/2006 19:12:36: > > > Nigel, > > > > Your example works fine for me with the latest code. Initial load on IE > > is not fast though, and I see that the editor is loading a huge number > > of files. > > > > The version of OPS on http://www.orbeon.com/ops/ is fairly old and does > > not yet support the text/html mediatype on xforms:textarea. > > > > -Erik > > > > [hidden email] wrote: > > > > > > All: > > > > > > I am trying to get the HTML Editor control for use in a textarea. In > > > Firefox, the editor displays correctly (and other controls operate as > > > expected). In IE, the red Loading ... flag comes up, but the JavaScript > > > appears not to complete, the textarea briefly displays, but the HTML > > > editor doesn't show, instead just displaying an empty area of the > > > screen. Also, if the xforms has an HTML editor-type textarea, other > > > controls may not operate correctly -- for instance, xforms events may > > > not be, apparently, generated. > > > > > > The xforms seems simple: this case has the problem here: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <xhtml:html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > xsi:schemaLocation="http://www.w3.org/1999/xhtml > > > ../../plugins/com.oxygenxml.editor_7.2. > > 0/frameworks/xhtml11/schema/xhtml-basic-form-1.xsd" > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > xmlns:xforms="http://www.w3.org/2002/xforms" > > > xmlns:ev="http://www.w3.org/2001/xml-events" > > > xmlns:xhtml="http://www.w3.org/1999/xhtml"> > > > <xhtml:head> > > > <xhtml:title>New Issue</xhtml:title> > > > <xforms:model> > > > <xforms:instance id="issue"> > > > <data> > > > <body/> > > > </data> > > > </xforms:instance> > > > </xforms:model> > > > </xhtml:head> > > > <xhtml:body> > > > <xforms:group ref="/data"> > > > <xforms:textarea ref="body" mediatype="text/html"> > > > <xforms:help>Some help text</xforms:help> > > > </xforms:textarea> > > > </xforms:group> > > > </xhtml:body> > > > </xhtml:html> > > > > > > Also, when I try any example in the xforms sandbox at orbeon.com, I only > > > ever get a simple textarea, withouth the HTML editor controls ... > > > > > > I assume I've done something wrong ... > > > > > > TIA for any help. > > > > > > Regards > > > > > > Nigel > > > > > > > > > Nigel Harrison > > > LeSoftCo Limited -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Nigel,
Thanks for the useful feedback. I have entered an RFE to track the upgrade to 2.3: http://forge.objectweb.org/tracker/index.php?func=detail&aid=305807&group_id=168&atid=350207 -Erik [hidden email] wrote: > > Erik: > > I can confirm that the HTML Editor works correctly with a fresh build of > OPS from CVS. > > Incidentally, it seems as if FckEditor version 2.3 somehow only > downloads one file of icons for the whole Toolbar, presumably by > compressing the data together, which presumably is what makes it load > faster. > > Thanks again. > > Regards > > Nigel > > Nigel Harrison > LeSoftCo Limited > +44 (0) 1594 546120 > Vantage Point Business Village > Mitcheldean > GL17 0DD > UK > > [hidden email] wrote: > > > Erik: > > > > Thanks for your reply. I can happily (although slowly) open the > FckEditor samples in IE, from the fckeditor > directory inside > tomcat/webapps/WEB-INF/resources/ops: that is, the directory from which > OPS is presumably > > getting the editor resources. It does seem to load many files, > presumably its icon images. Also, my sample > looks correct (and opens > much more quickly) in Firefox. My IE says it is version 6.0.2900, and I > think it > > was what came with Windows XP SP2, if that makes any difference. > > > > Incidentally, I notice that the version 2.3 of FckEditor opens > roughly 30% faster than the version 2.2 that > is embedded in OPS with > IE (and a little quicker with Firefox). Would it be straightforward to > update the > > version that is used? If you think it should be (if Orbeon hasn't > modified the FckEditor code, for > > example), I could try that out. > > > > I will try to download the latest code and retry, and let you know. > > > > Regards > > > > Nigel > > > > Erik Bruchez <[hidden email]> wrote on 19/07/2006 19:12:36: > > > > > Nigel, > > > > > > Your example works fine for me with the latest code. Initial load > on IE > > > is not fast though, and I see that the editor is loading a huge number > > > of files. > > > > > > The version of OPS on http://www.orbeon.com/ops/ is fairly old and > does > > > not yet support the text/html mediatype on xforms:textarea. > > > > > > -Erik > > > > > > [hidden email] wrote: > > > > > > > > All: > > > > > > > > I am trying to get the HTML Editor control for use in a textarea. > In > > > > Firefox, the editor displays correctly (and other controls > operate as > > > > expected). In IE, the red Loading ... flag comes up, but the > JavaScript > > > > appears not to complete, the textarea briefly displays, but the HTML > > > > editor doesn't show, instead just displaying an empty area of the > > > > screen. Also, if the xforms has an HTML editor-type textarea, other > > > > controls may not operate correctly -- for instance, xforms events > may > > > > not be, apparently, generated. > > > > > > > > The xforms seems simple: this case has the problem here: > > > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <xhtml:html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > xsi:schemaLocation="http://www.w3.org/1999/xhtml > > > > ../../plugins/com.oxygenxml.editor_7.2. > > > 0/frameworks/xhtml11/schema/xhtml-basic-form-1.xsd" > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > > xmlns:xforms="http://www.w3.org/2002/xforms" > > > > xmlns:ev="http://www.w3.org/2001/xml-events" > > > > xmlns:xhtml="http://www.w3.org/1999/xhtml"> > > > > <xhtml:head> > > > > <xhtml:title>New Issue</xhtml:title> > > > > <xforms:model> > > > > <xforms:instance id="issue"> > > > > <data> > > > > <body/> > > > > </data> > > > > </xforms:instance> > > > > </xforms:model> > > > > </xhtml:head> > > > > <xhtml:body> > > > > <xforms:group ref="/data"> > > > > <xforms:textarea ref="body" mediatype="text/html"> > > > > <xforms:help>Some help text</xforms:help> > > > > </xforms:textarea> > > > > </xforms:group> > > > > </xhtml:body> > > > > </xhtml:html> > > > > > > > > Also, when I try any example in the xforms sandbox at orbeon.com, > I only > > > > ever get a simple textarea, withouth the HTML editor controls ... > > > > > > > > I assume I've done something wrong ... > > > > > > > > TIA for any help. > > > > > > > > Regards > > > > > > > > Nigel > > > > > > > > > > > > Nigel Harrison > > > > LeSoftCo Limited > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Nigel,
As a follow-up, this issue is now closed. We have now upgraded the FCKeditor to version 2.3.1. Alex On 7/24/06, Erik Bruchez <[hidden email]> wrote: > Nigel, > > Thanks for the useful feedback. I have entered an RFE to track the > upgrade to 2.3: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=305807&group_id=168&atid=350207 > > -Erik > > [hidden email] wrote: > > > > Erik: > > > > I can confirm that the HTML Editor works correctly with a fresh build of > > OPS from CVS. > > > > Incidentally, it seems as if FckEditor version 2.3 somehow only > > downloads one file of icons for the whole Toolbar, presumably by > > compressing the data together, which presumably is what makes it load > > faster. > > > > Thanks again. > > > > Regards > > > > Nigel > > > > Nigel Harrison > > LeSoftCo Limited > > +44 (0) 1594 546120 > > Vantage Point Business Village > > Mitcheldean > > GL17 0DD > > UK > > > > [hidden email] wrote: > > > > > Erik: > > > > > > Thanks for your reply. I can happily (although slowly) open the > > FckEditor samples in IE, from the fckeditor > directory inside > > tomcat/webapps/WEB-INF/resources/ops: that is, the directory from which > > OPS is presumably > > > getting the editor resources. It does seem to load many files, > > presumably its icon images. Also, my sample > looks correct (and opens > > much more quickly) in Firefox. My IE says it is version 6.0.2900, and I > > think it > > > was what came with Windows XP SP2, if that makes any difference. > > > > > > Incidentally, I notice that the version 2.3 of FckEditor opens > > roughly 30% faster than the version 2.2 that > is embedded in OPS with > > IE (and a little quicker with Firefox). Would it be straightforward to > > update the > > > version that is used? If you think it should be (if Orbeon hasn't > > modified the FckEditor code, for > > > example), I could try that out. > > > > > > I will try to download the latest code and retry, and let you know. > > > > > > Regards > > > > > > Nigel > > > > > > Erik Bruchez <[hidden email]> wrote on 19/07/2006 19:12:36: > > > > > > > Nigel, > > > > > > > > Your example works fine for me with the latest code. Initial load > > on IE > > > > is not fast though, and I see that the editor is loading a huge number > > > > of files. > > > > > > > > The version of OPS on http://www.orbeon.com/ops/ is fairly old and > > does > > > > not yet support the text/html mediatype on xforms:textarea. > > > > > > > > -Erik > > > > > > > > [hidden email] wrote: > > > > > > > > > > All: > > > > > > > > > > I am trying to get the HTML Editor control for use in a textarea. > > In > > > > > Firefox, the editor displays correctly (and other controls > > operate as > > > > > expected). In IE, the red Loading ... flag comes up, but the > > JavaScript > > > > > appears not to complete, the textarea briefly displays, but the HTML > > > > > editor doesn't show, instead just displaying an empty area of the > > > > > screen. Also, if the xforms has an HTML editor-type textarea, other > > > > > controls may not operate correctly -- for instance, xforms events > > may > > > > > not be, apparently, generated. > > > > > > > > > > The xforms seems simple: this case has the problem here: > > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > > <xhtml:html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > > xsi:schemaLocation="http://www.w3.org/1999/xhtml > > > > > ../../plugins/com.oxygenxml.editor_7.2. > > > > 0/frameworks/xhtml11/schema/xhtml-basic-form-1.xsd" > > > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > > > xmlns:xforms="http://www.w3.org/2002/xforms" > > > > > xmlns:ev="http://www.w3.org/2001/xml-events" > > > > > xmlns:xhtml="http://www.w3.org/1999/xhtml"> > > > > > <xhtml:head> > > > > > <xhtml:title>New Issue</xhtml:title> > > > > > <xforms:model> > > > > > <xforms:instance id="issue"> > > > > > <data> > > > > > <body/> > > > > > </data> > > > > > </xforms:instance> > > > > > </xforms:model> > > > > > </xhtml:head> > > > > > <xhtml:body> > > > > > <xforms:group ref="/data"> > > > > > <xforms:textarea ref="body" mediatype="text/html"> > > > > > <xforms:help>Some help text</xforms:help> > > > > > </xforms:textarea> > > > > > </xforms:group> > > > > > </xhtml:body> > > > > > </xhtml:html> > > > > > > > > > > Also, when I try any example in the xforms sandbox at orbeon.com, > > I only > > > > > ever get a simple textarea, withouth the HTML editor controls ... > > > > > > > > > > I assume I've done something wrong ... > > > > > > > > > > TIA for any help. > > > > > > > > > > Regards > > > > > > > > > > Nigel > > > > > > > > > > > > > > > Nigel Harrison > > > > > LeSoftCo Limited > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > You receive this message as a subscriber of the [hidden email] mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- > Orbeon - XForms Everywhere: > http://www.orbeon.com/blog/ > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thanks, Alex: I'll download and check it out later today. Nigel Harrison -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |