So I have updated to latest version i.e. to 637. Now I am not getting any errors but unfortunately the script editor is not displaying.
After decreasing the versions to know the exact reason and finally found that XsltForms_submission method has changed in version 582, and then compared it with version 581
XsltForms_submission method in version 582 has extra attribute value
function XsltForms_submission(subform, id, model, ref, value, bind, action, method, version, indent,
mediatype, encoding, omitXmlDeclaration, cdataSectionElements,
replace, targetref, instance, separator, includenamespaceprefixes, validate, relevant,
synchr, show, serialization) {
XsltForms_submission method in version 581 has no extra attribute value
function XsltForms_submission(subform, id, model, ref, bind, action, method, version, indent,
mediatype, encoding, omitXmlDeclaration, cdataSectionElements,
replace, targetref, instance, separator, includenamespaceprefixes, validate, relevant,
synchr, show, serialization) {
Version 581 will throw the above mentioned error, but 582 will not throw any errors but the editor will not be displayed.
Can anyone please suggest me, how can I solve the above issue to display script editor.
Thanks in Advance,
Regards,
Raja.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
XSLTForms 1.0 RC is now to be considered as an old release. Rev 637 is much more compliant to XForms 1.1 specifications, with many XForms 2.0 features too.
A value parameter has to be added to the Javascript function for submission. It is generated by the XSLT stylesheet.
What "script editor" are you talking about? Could you please post a minimal test case?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
when I have loaded the xsltforms with version 1.0 RC with latest FF browser, I am getting the below error.
XSLTForms Exception
Error initializing :
XsltForms_submission@http://localhost:8080/tracking1/javascript/xsltforms/xsltforms.js:4397:1
xsltforms_initImpl@http://localhost:8080/xxxx
xsltforms_init@http://localhost:8080/xxxx
onload@http://localhost:8080/xxxx
TypeError
action is null
So I have updated to latest version i.e. to 637. Now I am not getting any errors but unfortunately the script editor is not displaying.
After decreasing the versions to know the exact reason and finally found that XsltForms_submission method has changed in version 582, and then compared it with version 581
XsltForms_submission method in version 582 has extra attribute value
function XsltForms_submission(subform, id, model, ref, value, bind, action, method, version, indent,
mediatype, encoding, omitXmlDeclaration, cdataSectionElements,
replace, targetref, instance, separator, includenamespaceprefixes, validate, relevant,
synchr, show, serialization) {
XsltForms_submission method in version 581 has no extra attribute value
function XsltForms_submission(subform, id, model, ref, bind, action, method, version, indent,
mediatype, encoding, omitXmlDeclaration, cdataSectionElements,
replace, targetref, instance, separator, includenamespaceprefixes, validate, relevant,
synchr, show, serialization) {
Version 581 will throw the above mentioned error, but 582 will not throw any errors but the editor will not be displayed.
Can anyone please suggest me, how can I solve the above issue to display script editor.
Thanks in Advance,
Regards,
Raja.
Hello Raja,
XSLTForms 1.0 RC is now to be considered as an old release. Rev 637 is much more compliant to XForms 1.1 specifications, with many XForms 2.0 features too.
A value parameter has to be added to the Javascript function for submission. It is generated by the XSLT stylesheet.
What "script editor" are you talking about? Could you please post a minimal test case?
Thanks!