Has any one tried to use FCK with XForms yet?
I am trying but I can see where to put it. In essence I am trying to buld a 2 column table were ne side contains "model information" & the other side should contain XHTML documentation. As such I have tried:
<table style="text-align: left; width: 100%; text-align: left; vertical-align: top;" border="1"
cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td>
<table style="text-align: left; vertical-align: top; width: 100%; " border="1"
cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td
style="width: 50%; background-color: rgb(255, 255, 102); text-align: left; vertical-align: top;">Insert
CLASSNAME HERE</td>
<td style="width: 50%; text-align: left; vertical-align: top;"><script type="text/javascript">
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.Create() ;
</script>
<xf:textarea></xf:textarea></td>
</tr>
</tbody>
</table>
<table style="text-align: left; width: 100%; text-align: left; vertical-align: top;" border="1"
cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td style="width: 50%; text-align: left; vertical-align: top;"> to n attribs</td>
<td style="width: 50%; text-align: left; vertical-align: top;"><xf:textarea></xf:textarea></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
I am pssibbly dealing with 2 problems at once as I'd like for people to be able to use this a a local file (i.e. no webserver involved).
Thus the problem may be with using FCK locally e.g. my xhtml/xform contains
<script type="text/javascript" src="./FCKeditor/fckeditor.js"></script>
& I get an error of:
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/FCKeditor/fckeditor.js Line: 53"]
Adam
I am trying but I can see where to put it. In essence I am trying to buld a 2 column table were ne side contains "model information" & the other side should contain XHTML documentation. As such I have tried:
<table style="text-align: left; width: 100%; text-align: left; vertical-align: top;" border="1"
cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td>
<table style="text-align: left; vertical-align: top; width: 100%; " border="1"
cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td
style="width: 50%; background-color: rgb(255, 255, 102); text-align: left; vertical-align: top;">Insert
CLASSNAME HERE</td>
<td style="width: 50%; text-align: left; vertical-align: top;"><script type="text/javascript">
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.Create() ;
</script>
<xf:textarea></xf:textarea></td>
</tr>
</tbody>
</table>
<table style="text-align: left; width: 100%; text-align: left; vertical-align: top;" border="1"
cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td style="width: 50%; text-align: left; vertical-align: top;"> to n attribs</td>
<td style="width: 50%; text-align: left; vertical-align: top;"><xf:textarea></xf:textarea></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
I am pssibbly dealing with 2 problems at once as I'd like for people to be able to use this a a local file (i.e. no webserver involved).
Thus the problem may be with using FCK locally e.g. my xhtml/xform contains
<script type="text/javascript" src="./FCKeditor/fckeditor.js"></script>
& I get an error of:
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/FCKeditor/fckeditor.js Line: 53"]
Adam