hsummerhays:
The method getScriptStackTrace() is undefined for the type ServoyException
The method getSQL() is undefined for the type Exception
The method getSQLState() is undefined for the type Exception
The method getVendorErrorCode() is undefined for the type Exception
The property fileName is undefined for the type ServoyException
The property fileName is undefined in ex2
The property lineNumber is undefined for the type ServoyException
The property lineNumber is undefined in ex2
The property message is undefined for the type ServoyException
i updated the default onErrorCode() stuff so that most of those are gone (the example now uses casting of the 2 Exception types)
1 is still there and that is the getScriptStackTrace() that needs to be resolved in another way.
...
/** @type forms.base */
var _frm = forms[_s];
//this produces the warning mentioned above
_frm.someBaseMathod();
the above is a bit wrong:
/** @type Form */
var _frm = forms[_s];
But that still doesn’t work completely because of that assignment that happens on that same line, that will overwrite the form typing info again
this will be fixed in a7
The form editor scrolls automatically if you are selecting objects with the mouse and you drag to near the edge of the form editor. That is probably sufficient, but it would probably be more intuitive if it also did it when you drag past the edge of the form editor. Better still, it would be great if it scrolled faster as you drag further past the edge.
Another thing I noticed was that when you select items when scrolling in this manner, then when you are done selecting, Servoy will scroll you all the way back to your first few object. It would be nicer if it just left you where you were.
Lastly, I noticed that if I add an object, such as a button, and I get close to the top or left edge of the form editor and hold it for a second, the form scrolls up and/or left. This is not desirable.
If you think I am being too picky, just say so - I can get used to it like it is. Sometimes though, it is simple usability items like this that make people like a product that much more .
hsummerhays:
The method getScriptStackTrace() is undefined for the type ServoyException
The method getSQL() is undefined for the type Exception
The method getSQLState() is undefined for the type Exception
The method getVendorErrorCode() is undefined for the type Exception
The property fileName is undefined for the type ServoyException
The property fileName is undefined in ex2
The property lineNumber is undefined for the type ServoyException
The property lineNumber is undefined in ex2
The property message is undefined for the type ServoyException
i updated the default onErrorCode() stuff so that most of those are gone (the example now uses casting of the 2 Exception types)
1 is still there and that is the getScriptStackTrace() that needs to be resolved in another way.
how do I updated the default onErrorCode() ??? to get rid of those warnings