Servoy 6.1 beta 1 release

Release notes for Servoy betas

Servoy 6.1 beta 1 release

Postby Jan Blok » Wed Mar 28, 2012 9:23 pm

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.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 6.1 beta 1 release

Postby rossent » Thu Mar 29, 2012 6:07 am

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
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1 beta 1 release

Postby rossent » Thu Mar 29, 2012 9:07 am

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
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1 beta 1 release

Postby rossent » Thu Mar 29, 2012 9:30 am

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.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1 beta 1 release

Postby jcompagner » Thu Mar 29, 2012 10:55 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.1 beta 1 release

Postby jcompagner » Thu Mar 29, 2012 10:59 am

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?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.1 beta 1 release

Postby rossent » Thu Mar 29, 2012 12:11 pm

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.
Attachments
const_working.png
const_working.png (7.77 KiB) Viewed 19928 times
JSON_ScriptEditor.png
JSON_ScriptEditor.png (12.49 KiB) Viewed 19928 times
JSON_working.PNG
JSON_working.PNG (12.84 KiB) Viewed 19928 times
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1 beta 1 release

Postby Harjo » Thu Mar 29, 2012 12:14 pm

Hi,

is there somewhere a (beta) demo solution, that shows quickly al the new GUI CSS stuff for smart & webclient??
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 6.1 beta 1 release

Postby jcompagner » Thu Mar 29, 2012 12:19 pm

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.1 beta 1 release

Postby lvostinar » Thu Mar 29, 2012 12:25 pm

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
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Servoy 6.1 beta 1 release

Postby Harjo » Thu Mar 29, 2012 12:27 pm

cool, will check it out
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 6.1 beta 1 release

Postby pbakker » Thu Mar 29, 2012 4:10 pm

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
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: Servoy 6.1 beta 1 release

Postby rossent » Thu Mar 29, 2012 4:18 pm

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.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1 beta 1 release

Postby gldni » Thu Mar 29, 2012 5:46 pm

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.
Nicholas Dunn
E-Automation Systems, LLC
Servoy 6.1 final
PostgreSQL 9.0
gldni
 
Posts: 120
Joined: Fri May 23, 2008 5:35 pm
Location: MO, USA

Re: Servoy 6.1 beta 1 release

Postby AlanBourke » Thu Mar 29, 2012 5:59 pm

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.
-------------------------------------------------------------------------------------------
Servoy SAN Developer
User avatar
AlanBourke
 
Posts: 198
Joined: Tue Aug 02, 2011 3:32 pm
Location: Dublin, Ireland

Next

Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 12 guests