You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I am using the editor and the viewer in an app version Mx7.13. I have a few places I am using the editor, but one particular instance of it keeps throwing an error from the _updateRendering() function call. This can be found in the CKEditorForMendix.js and within this is the following line of code this._editor.setReadOnly(this._strReadOnly());
I cannot work out why the error is thrown from the one particular instance of the widget and can only put it down to the way it is embedded within other objects. Currently it resides within a groupbox within a dataview that is a listener to a datagrid. I have checked to ensure the attribute has access rights and debugged through but to no avail. I also don't quite know why there is the readonly setting within the code for the editor when the viewer is also available. there is also no ability to change this via the parameters.
The error being thrown is pasted below.
I am currently resolving the issue by having commented the breaking line of code as I cannot work out a graceful way of preventing it. I have not encountered any other problems whilst this code is disabled.
Error: mxui_widget_GroupBox_2.applyContext: Error: mxui_widget_GroupBox_2.applyContext: Error: CKEditorForMendix_widget_CKEditorForMendix_0.applyContext: Error: CKEditorForMendix_widget_CKEditorForMendix_0.applyContext: TypeError: Cannot read property 'setReadOnly' of undefined
at mxui.js?636609517612517442:1
at Object.e.exports.collect (mxui.js?636609517612517442:1)
at Object.e.exports.applyContext (mxui.js?636609517612517442:1)
at O.(:8080/anonymous function).E.passContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?636609517612517442:1:148381)
at mxui.js?636609517612517442:1
at mxui.js?636609517612517442:1
at mxui.js?636609517612517442:1
at r (mxui.js?636609517612517442:1)
at mxui.js?636609517612517442:1
at o (mxui.js?636609517612517442:1)
The text was updated successfully, but these errors were encountered:
Hi.
I am using the editor and the viewer in an app version Mx7.13. I have a few places I am using the editor, but one particular instance of it keeps throwing an error from the _updateRendering() function call. This can be found in the CKEditorForMendix.js and within this is the following line of code
this._editor.setReadOnly(this._strReadOnly());
I cannot work out why the error is thrown from the one particular instance of the widget and can only put it down to the way it is embedded within other objects. Currently it resides within a groupbox within a dataview that is a listener to a datagrid. I have checked to ensure the attribute has access rights and debugged through but to no avail. I also don't quite know why there is the readonly setting within the code for the editor when the viewer is also available. there is also no ability to change this via the parameters.
The error being thrown is pasted below.
I am currently resolving the issue by having commented the breaking line of code as I cannot work out a graceful way of preventing it. I have not encountered any other problems whilst this code is disabled.
Error: mxui_widget_GroupBox_2.applyContext: Error: mxui_widget_GroupBox_2.applyContext: Error: CKEditorForMendix_widget_CKEditorForMendix_0.applyContext: Error: CKEditorForMendix_widget_CKEditorForMendix_0.applyContext: TypeError: Cannot read property 'setReadOnly' of undefined
at mxui.js?636609517612517442:1
at Object.e.exports.collect (mxui.js?636609517612517442:1)
at Object.e.exports.applyContext (mxui.js?636609517612517442:1)
at O.(:8080/anonymous function).E.passContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?636609517612517442:1:148381)
at mxui.js?636609517612517442:1
at mxui.js?636609517612517442:1
at mxui.js?636609517612517442:1
at r (mxui.js?636609517612517442:1)
at mxui.js?636609517612517442:1
at o (mxui.js?636609517612517442:1)
The text was updated successfully, but these errors were encountered: