...
Code Block |
---|
function demo(){ /** @type {JSFoundSet<db:/udm/contacts>}*/ var x = databaseManager.getFoundset('udm', 'contacts'); x. //Code-completion here will know that x is a FoundSet on table Contacts in the UDM database, thus will include all columns, calculations and aggregates } |
Wiki Markup |
---|
@type String\[\] |
Code Block |
---|
/** * @param {Object} person * @param {String} person.name * @param {String} person.email * @param {Number} person.age */ function processPerson(person) { application.output(person.name); application.output(person.email); } |
Code Block |
---|
/** * @param {...String} someExtraStrings One or more additional String can be send into this function */ function methodWithRestParams(someExtraString){} function test() { methodWithRestParams('one', 'two', 'three', 'four'); } |
Code completion
...
Still to be done
Still to be done
...
...
...
Wiki Markup |
---|
New JSFoundSet.sort(Function, \[defer\]) |
Wiki Markup |
---|
Added support for multiple values in application.getStartupArguments():
For the following deeplink "http://localhost:8080/servoy-webclient/ss/s/bug_formBuilder/a/bla/a/bla1/a/bla2" application.getStartupArguments will not return \[\['bla', 'bla1', 'bla2'\], {a: \['bla', 'bla1', 'bla2'\]\] |
Code Block |
---|
if (foundset.find()) { foundset.name = ['John', 'Paul', 'Ringo', 'George']; foundset.search(); } |
...