So in the base.js we have:
- Code: Select all
/**
* Callback method for when form is shown.
*
* @param {Boolean} bFirstShow
* @param {Object} oEvent
*
* @protected
*
* @properties={typeid:24,uuid:"13E99E18-1F08-4E93-840E-2CC758C06B77"}
* @AllowToRunInFind
*/
function onShow( bFirstShow, oEvent )
{
And in forms that inherit from base we have things like:
- Code: Select all
/**
* @properties={typeid:24,uuid:"459A08C3-84AD-4233-9098-8AA55D6C42F2"}
* @override
*/
function onShow( bFirstShow, oEvent )
{
_super.onShow( bFirstShow, oEvent );
But this leads to us getting Servoy warnings for every form that inherits from base and there are hundereds of them. Like:
- Code: Select all
Description Resource Path Location Type
Reference to undeclared variable or property _super _100_Company_Details_User.js /qfi/forms line 440 JavaScript Problem
Is there a way to avoid this?
thanks,
Terry