Discussion:
TinyMCE
Mark Lawson
2014-04-09 21:30:33 UTC
Permalink
Hi,

I’m getting an odd error with the TinyMCE example at http://www.agencexml.com/xsltforms/tinymce.xml

When I load it into Safari 7.03 I get the following :

TypeError: 'null' is not an object (evaluating 's.getRng')

If I dismiss the alert, everything works ok though. Any ideas?

Rgds,

Mark Lawson
Alain Couthures
2014-04-10 20:05:23 UTC
Permalink
Hi Mark,

Unfortunately, Apple decided not to provide Windows version of Safari
after 5.1.7. I am not able to reproduce this issue but I think that some
try/catch could fix this...

This example at agencexml.com is currently using TinyMCE 3.4.6. You
could try this very same example form with a more recent TinyMCE 3.x
version.

With rev.593, TinyMCE 4.0 is now also supported. Two attributes have to
be added at the script element to identify it:
data-uri="http://www.tinymce.com" and data-version="4.0". Please find
attached a test form.

Thank you for your feedback!

-Alain
Hi,
I’m getting an odd error with the TinyMCE example at http://www.agencexml.com/xsltforms/tinymce.xml
TypeError: 'null' is not an object (evaluating 's.getRng')
If I dismiss the alert, everything works ok though. Any ideas?
Rgds,
Mark Lawson
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Xsltforms-support mailing list
https://lists.sourceforge.net/lists/listinfo/xsltforms-support
Isidro Vila Verde
2014-04-13 14:53:47 UTC
Permalink
Hi,

I am trying to get use the ref attribute in a label element but
apparently it doesn't seems to work.

<xf:repeat nodeset="Customers">
<tr>
<td>
<xf:trigger>
<xf:label ref="CustomerName"/>
</xf:trigger>
</td>
...
</tr>
</xf:repeat>

According to specification
(http://www.w3.org/TR/xforms11/#ui-commonelems-label) it should be
possible, but I would like to ask Alan if it is implemented or if anyone
has used it

Thanks

Isidro
Alain Couthures
2014-05-04 14:06:05 UTC
Permalink
Hello Isidro,

I cannot reproduce this issue with the attached test case.

You can have a look at
http://www.agencexml.com/xforms-tests/testsuite/XForms1.1/Edition1/Chapt08/8.2/8.2.1/8.2.1.a.xhtml

It was not easy to support label/@ref in XSLTForms and there still might
be cases in which it still does not work as expected.

Could you please send me a full test case?

Thanks!

-Alain
Post by Isidro Vila Verde
Hi,
I am trying to get use the ref attribute in a label element but
apparently it doesn't seems to work.
<xf:repeat nodeset="Customers">
<tr>
<td>
<xf:trigger>
<xf:label ref="CustomerName"/>
</xf:trigger>
</td>
...
</tr>
</xf:repeat>
According to specification
(http://www.w3.org/TR/xforms11/#ui-commonelems-label) it should be
possible, but I would like to ask Alan if it is implemented or if
anyone has used it
Thanks
Isidro
Loading...