Page 1 of 3

Servoy 6.1 beta 1 release

PostPosted: Wed Mar 28, 2012 9:23 pm
by Jan Blok
We are pleased to announce the immediate availability of Servoy 6.1 beta 1 release.

This version is available through the download option on the Servoy website and auto-update.
Always make a backup of your current Servoy installation (directory and database) before installing/upgrading. (this version will do a repository update!)
To update Servoy Developer open Check for updates via help menu.

For a complete overview of the new feature in this release see our wiki

The issue's fixed only in 6.1 or not yet released in other version are:
Client Changes
[fix] SVY-1697 Aggregate values in a label using display Tags are showing wrong values.
[fix] SVY-1694 Javascript error in Internet Explorer 8
[fix] SVY-1410 subclass row selection (odd, even selected) on portal
[fix] SVY-1288 webclient: no modifierKeys in various 'drag' events (onDrag/onDrop/etc)
[fix] SVY-1183 Combobox focus prevents selection of correct record
[fix] SVY-1041 Webclient decimal point on numpad
[fix] SVY-1023 Overloaded function in custom beans/plugins raise warning in Servoy 6
[fix] SVY-1019 problem with fallback valuelist
[fix] SVY-994 WebClient Issue
[fix] SVY-943 Webclient: Row selection highlight not always being cleared.
[fix] SVY-939 The method solutionModel.newRelation creates JSRelation objects with names always in lowercase regardless the specified name in the constructor
[fix] SVY-688 Setting border properties using CSS
[fix] SVY-619 scrolling html field
[fix] SVY-518 rotation of image not working in webclient
[fix] SVY-455 rectangle borders on web
[fix] SVY-199 Selected record changes on databroadcast in a related foundset problem

Developer Changes
[fix] SVY-1705 Serclips reponding very slow when expanding form node containing large number of forms
[fix] SVY-1549 Hovering over a foundset during debug is slow and information displayed is not very useful

Installer Changes
[fix] SVY-1030 beans/plugins directories not created if the corresponding optional components are de-selected in the installer.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 6:07 am
by rossent
Great new features, Servoy!

One note: to get the update in Servoy Developer, change the update url to: http://www.servoy.com/developer/61x_updates

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 9:07 am
by rossent
Hi Servoy,

I have a question regarding the new scopes.

- can multiple modules/solutions in the same workspace define scopes with the same name? Currently Servoy Developer allows that but only one of the scopes is accessible (the other one does not show in the Script Editor code completion; this becomes an issue if two different modules, perhaps even from different vendors, define custom scopes with the same name and then a solution references both modules)
- can different scopes define methods with the same name? Currently the Create Method wizard does not allow that (it treats all methods under globals and other custom scopes as "global" and displays the message that a "global method with the same name already exists"; however, if I manually create the method everything is fine and works as expected)

It will be helpful if some guidelines, DOs and DON'Ts regarding the scopes is added to the 6.1 wiki

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 9:30 am
by rossent
Hi Servoy,

A question regarding the new entity scope:

It appears, that if I define a foundset variable like

Code: Select all
    /** @type {JSFoundSet<db:/sample_db/test_data>} */
    var fs = databaseManager.getFoundSet('sample_db','test_data');
    fs.customEntityMethod(); //this shows a warning that the customEntityMethod is not defined for JSFoundSet<db:/sample_db/test_data>


any methods which have been added to the test_data table are not accessible. However if I use something like

Code: Select all
    var fs = forms.test_data_form.foundset; //test_data_form is based on the same datasource db:/sample_db/test_data>
   fs.customEntityMethod(); //this works OK


Is this a bug or intended behavior? Are the custom entity method accessible only for the default foundset or for any foundset based on that datasource? What happens if in two modules are defined custom entity methods with the same name? It appears, that the entity methods are available only for the foundset but not for the records from that foundset - is this the designed behavior?

Thanks for your help with this.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 10:55 am
by jcompagner
rossent wrote:- can multiple modules/solutions in the same workspace define scopes with the same name? Currently Servoy Developer allows that but only one of the scopes is accessible (the other one does not show in the Script Editor code completion; this becomes an issue if two different modules, perhaps even from different vendors, define custom scopes with the same name and then a solution references both modules)


We shouldn't allow this, this complicates stuff. Only 1 name should be allowed. and people should just use good names to differentiate between them
Please create a case for this.

rossent wrote:- can different scopes define methods with the same name? Currently the Create Method wizard does not allow that (it treats all methods under globals and other custom scopes as "global" and displays the message that a "global method with the same name already exists"; however, if I manually create the method everything is fine and works as expected)


Yes that should be possible just fine, scopes are complete separate objects/javascript scopes so they don't collide at all.
Please do create a case.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 10:59 am
by jcompagner
rossent wrote:
A question regarding the new entity scope:

It appears, that if I define a foundset variable like

Code: Select all
    /** @type {JSFoundSet<db:/sample_db/test_data>} */
    var fs = databaseManager.getFoundSet('sample_db','test_data');
    fs.customEntityMethod(); //this shows a warning that the customEntityMethod is not defined for JSFoundSet<db:/sample_db/test_data>




that should work (as you say you can call it just fine)
I think i know what the problem is that is that we have here a java type (JSFoundSet) and a javascript portion that is now mixed.
That is always a bit of a problem, we need to check this, can you create a case?

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 12:11 pm
by rossent
With the Rhino 1.7R3 now we have in Servoy the standard JavaScript JSON support (beware of the one-way date serialization!).
However, it appears that the Script Editor currently does not recognize it even though it works just fine. Can we have support for it?

Also, a very good thing to mention is that now the const keyword is supported and it is a true constant! That is just GREAT! It will be very helpful to add that to the 6.1 wiki.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 12:14 pm
by Harjo
Hi,

is there somewhere a (beta) demo solution, that shows quickly al the new GUI CSS stuff for smart & webclient??

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 12:19 pm
by jcompagner
rossent wrote:With the Rhino 1.7R3 now we have in Servoy the standard JavaScript JSON support (beware of the one-way date serialization!).
However, it appears that the Script Editor currently does not recognize it even though it works just fine. Can we have support for it?


Will look if we can add that as a type.
Please create a case so that we don't forget it.

rossent wrote:Also, a very good thing to mention is that now the const keyword is supported and it is a true constant! That is just GREAT! It will be very helpful to add that to the 6.1 wiki.


not sure about this one, yes rhino does support it, yes the editor supports it, but i don't think it is supported anywhere else, i don't think its in a ecma spec, so i am not sure if we should promote it because it could bite us later on.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 12:25 pm
by lvostinar
Harjo wrote:Hi,

is there somewhere a (beta) demo solution, that shows quickly al the new GUI CSS stuff for smart & webclient??


Here is a solution we used for a demo:

https://subversion.servoy.com/examples/trunk/demo_UI_UX

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 12:27 pm
by Harjo
cool, will check it out

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 4:10 pm
by pbakker
Will look if we can add that as a type.
Please create a case so that we don't forget it.


There is already a case for the JSON support in the IDE: SVY-1658

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 4:18 pm
by rossent
pbakker wrote:
Will look if we can add that as a type.
Please create a case so that we don't forget it.


There is already a case for the JSON support in the IDE: SVY-1658


In that case you may want to mark the SVY-1922 as a duplicate for it.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 5:46 pm
by gldni
lvostinar wrote:
Harjo wrote:Hi,

is there somewhere a (beta) demo solution, that shows quickly al the new GUI CSS stuff for smart & webclient??


Here is a solution we used for a demo:

https://subversion.servoy.com/examples/trunk/demo_UI_UX


Maybe a stupid question but I'll ask anyway. I would like to check out the demo, but not sure how to go about it using this link.

Re: Servoy 6.1 beta 1 release

PostPosted: Thu Mar 29, 2012 5:59 pm
by AlanBourke
You need a Subversion client - probably easiest to install Subclipse inside Servoy Developer as detailed here: http://wiki.servoy.com/display/public/DOCS/SVN+Team+Provider

Once you have that you can add the link as a new repo and check it out.