We announce the immediate availability of Servoy 3.0
Make a backup of your current Servoy installation (directory and database) before installing.
This version will also be available through auto update shortly for users already using 3.0 prereleases (check via help menu -> check for new version)
Enhancements:
-Servoy Web Client, turns existing solutions/forms into websites/webpages (pure html/css applications)
databaseManager object:
-possible to disable the autosave with databaseManager.setAutoSave(...)
-data edits are possible to revert/cancelled without transaction with databaseManager.rollbackEditedRecords()
-databaseManager.getFailedRecords() returns an array of records which failed in a saveData() call
-databaseManager.setCreateEmptyFormFoundsets() turns the default foundset record loading off (must be called in solution open method)
-databaseManager.getNextSequence(...) method for a column for which a sequence is defined
-retrieve SQL on which a foundset is based, this allows adjustment of the WHERE clause of a SQL statement and dynamic storage of foundsets.
-function to retrieve the backend database vendor name
-getRowIdentifierColumnNames() function on JSTable object to retrieve the row identifiers of a table
controller object:
-controller.focusFirstField() positioning of cursor in first field (based on tabbing order) of a form body part
-controller.getCurrentSort() to retrieve the current sorting of a foundset
application object:
-application.setNumpadEnterAsFocusNextEnabled(...) function to use the numPad Enter key as next focus key (alternative to Tab key)
-application.getApplicationType(...) to detect client type whether it is running in Developer, Smart Client, Web Client, Runtime
-application.getValueListDisplayValue(...) new function to retrieve display values from valuelists by key
-application.getValueListArray(...) to retrieve a valuelist as an Array
-application.getIPAddress() and application.getHostName(), which also works for webclient
-application.showI18NDialog() function to allow key transaltion in client
-application.newUUID()
history object:
-removeIndex() function
foundset object:
-unrelate() function to unrelate the foundset from the relation (as a result the foreign key is not longer prefilled)
form elements:
-tapanel.addTab(...) has an 8th param that can be a relation (foundset) to add een related tab
-support for getNameAt/getFormNameAt/getTitleAt on tabpanel
-i18n keys as tag are supported like "%%i18n:<messagekey>%%" in text when usesTags is enabled on an element
-field format property does support i18n usage
dataset object:
-format options added to dataset.getAsHTML(...) function
-new functions getException,add/removeRow,setValue
developer/designer/code editor:
-development filters in the view menu that automatically filter methods/functions and element properties between: Adanced mode, Basic mode and Web functions
-tab sequence editor double click does move indexes
-code completion popup can be resized (drag the lower right corner)
-highlighted parameters when functions are autocompleted
-sinkWhenLast property on part and checkbox in part dialog
-focus events are now debuggable in debugger
-faster startup of text property editor
-SQL database views, in additional to be able to build forms based on tables you can now also base forms on views
-tablefilters work on everything now, such as relations and valuelists
-debugger has extra checkbox to break on exceptions
-launch smart client and web client toolbar control
-exception node in debugger which shows the methods on exceptions and usage
-record.exception returns the Exception object which caused for example the save to fail
server:
-lowered the dataChangeNotify messages sent between clients
-batch processors can now be deleted
-upload of jnlp file via server admin pages
-db passwords encryption in property file
-update utility to update the server command line, this feature is particularly useful for servers that don't have Servoy developer installed and/or run command line only
-added logging framework (also works in develop and client), which rotate log files (to prevent full server disks) and allows for more detailed logging and more control over what is logged.
-improved Log user interfaces in the Server admin pages
-simplified web browser link to launch Smart Client
solution:
-onError handler method that can trigger a method for custom error processing instead of the default error dialog
-loginForm to overide Servoy login and use of external authenticator (for example LDAP) to escape this form you have to call security.login(...) function
client:
-performance improvement in unstored calcs
-enter key and F3 both work to start searching when in find from within tabpanel
-printing keeps javascript changes, if an element is dynamically adjust the position/visibility of elements this is also reflected in prints
scripting in general:
-utils.getUnicodeCharacter(...) to retrieve unicode characters
-try/catch is now possible arround almost all servoy script functions
Bug fixes info:
http://forum.servoy.com/viewtopic.php?t=7028
Webclientinfo:
http://forum.servoy.com/viewtopic.php?p=29682#29682