forms
node of the Solution Explorer provides an entry to "Add working set". Through this option a 'folder' can be created, into which Forms can be dragged and dropped.SVY-5613 Support for debugging self-executing functions (IIFE) assigned to variables
Self-executing functions (or IIFE's) are functions that immediately execute themselves. This can be used to do initialization when a scope loads for example. Previously breakpoints inside such functions would never get hit.
SVY-5532, SVY-5523, SVY-5531, SVY-5527 Improved support for JavaScript prototype inside code
Servoy's Script Editor and Build system now have good support for JavaScript prototyping. This allows creating JavaScript objects using prototyping and having proper code completion and builder markers. Supports both setting an Object as prototype or directly assigning new members to the prototype. Prototype members can be marked as deprecated or protected through JSDoc annotations.
SVY-5615 Improved build system to handle special JavaScript methods like function.call, function.apply, function.bind and Object.create
For .apply/call/bind, the build system will recognize that the .apply/call/bind method will return the same type as the function on which it is called, for example:
SVY-5827 support function types with rest parameters in typedefs
SVY-5114 Improved support for Union Types in JSDoc
For example function parameters can now be declared to take an Array containing Strings and/or Numbers.
SVY-5113 Support builder markers when supplying a reference to a function object as value to another functions parameter, but the signature does not match
SVY-3555 Enabled the strike-through of deprecated member declarations in the Script Editor
SVY-5371 Support returning an instance of itself inside Constructor functions without warnings being generated
This allows building in a fail-save for Constructor function not being called with the new
keyword
Behavior Changes
SVY-5618 In Servoy 7.4 the behavior of passing custom exceptions thrown from JavaScript into the Solutions onError handler has been changed due to a bugfix.
Prior to Servoy 7.4, the custom exception object was passed into the onError handler wrapped in a undocumented Java class. As of Servoy 7.4 the actual thrown object is passed directly into the onError handler. Implementations that have worked around the bug........
SVY-5538 Behavior Change in the Web Client due to aligning the behavior of controller.enabled with the Smart Client behavior
After disabling a controller, individual elements on the controller can now be enabled through scripting. This behavior has been present in the Smart Client for a long time. The behavior in the Web Client has now been brought inline.
SVY-5213 Prior to Servoy 7.4 the method application.getValueListDisplayValue would not return a result for real values that are not in the first 500 entries in large ValueLists. As of Servoy 7.4 the display value is always returned, regardless on the size of the ValueList
JSFoundSet.forEach(function)
foundset.loadRecords(sql)
databaseManager.getDataSetByQuery(sql)
databaseManager.addTableFilterParam(datasource, column, 'in', sql)
SVY-4685 Support for getting typed foundsets without having to resort to JSDoc typing
See datasources.db.udm.contacts.getFoundSet()
for example
Behavior Change
The behavior of controller.enabled in the Web Client has been brought inline with the behavior of the Smart Client. It now allows elements to be individually enabled even if the controller is disabled.
servoy.webclient.hideloadingindicator
setting on the Servoy Admin page. Prior to Servoy 7.4 when enabling the servoy.webclient.blockinputonrequest
setting, the Loading indicator would be disabled automatically.- servoy.branding.loadingbackground
: Sets the background-color of the main Smart Client window when no form is showing. This is without other settings before and after a custom log in form is shown or while the default log in dialog is shown.- servoy.branding.hideframewhileloading
: hides the main Smart Client window while no form is showing. This is before and after a custom log in form is shown or while the default log in dialog is shown.Behavior Change
SVY-5695: Since Servoy 6.1 the name of the Solution was automatically appended to the name of the shortcut created by Java Webstart when branding was enabled, to get the same behavior as when branding was not enabled and to be able to have multiple shortcuts be created for multiple solutions hosted on the same Servoy Application Server. However, this change did not take into account the fact that if only one solution was hosted, it might be preferred to not have the name of the Solution included, but only the value of the servoy.branding.webstart.shortcuttitle
setting. It also did not take into account the fact that the name of the Solution is usually something internal to the developer and the public "name" is set in the title property of the Solution. Hence Servoy 7.4 reverts the behavior of including the name of the solution into the title of the shortcut by default when branding is enabled. Instead it now supports to put the value of the title property of the Solution into the name of the icon, by including the following syntax in the value of the servoy.branding.webstart.shortcuttitle
setting: %%solution.title%%
SVY-5876 In the case of exceptions occurring in the Web Client, the default error page offers a link to return to the homepage. Prior to Servoy 7.4 this link would redirect the user to the main entry point of the Servoy Application Server. As of Servoy 7.4 this instead redirects to /servoy-webclient/
servoy.webclient.hideloadingindicator
setting to control the display of the Loading Indicator independent from the servoy.webclient.blockinputonrequest