Servoy 3.5.3

Servoy announcements

Servoy 3.5.3

Postby svroemisse » Thu Dec 06, 2007 7:00 pm

We announce the immediate availability of Servoy 3.5.3

Make a backup of your current Servoy installation (directory and database) before installing.

This version will be available shortly through auto update for users of 3.5 versions (check via help menu -> check for new version)

Changes
[enh] use client local timezone for dates can be enabled/disabled in admin page
[enh] ability to set initial Rich Client heap and/or VM arguments in admin page
[enh] plugin API added the method getResourceBundle(Locale)
[enh] data that you want to stream to the client with blobloader can now also be strings instead of only bytes
[enh] for web client, CSS are not cached anymore: when CSS is changed in developer, a browser will now always download the latest without a manual refresh
[enh] performance improvements with loading solutions in the webclient
[enh] databasemanager.recalculate(foundset) improvements in speed
[enh] in the debugger tree, beans will have as child nodes in the tree about possible return types
[enh] enhanced DBTreeView bean, see below
[enh] vertical scrollbar in table-view now only affects body

[chg] when copying tables in the repository dialog, autoenter settings are copied as well
[chg] consistent validation feedback for parse errors, ondatachange validations and column validations, see below
[chg] made 'type guessing' in setValuelistItems optional (off by default), see note below

[fix] web client modal dialogs were not really modal in IE: you could still tab through the fields
[fix] can't show a modal dialog during the onShow method of another form
[fix] web client type ahead field sometimes results in a javascript error when you press enter
[fix] the navigator form doesn't always save data when an event is triggered
[fix] fields containing valuelist lost current value when valuelist did not contain current value
[fix] events not firing on non-modal forms
[fix] problems with HTML area printing in web client
[fix] if you hide/display columns in a table view the order of the columns changes
[fix] if auto-save is off, do not auto-save edited records when closing the solution
[fix] format + round bug: format a field to "0.0", and set its value to 0.0491, it would say 0.1
[fix] hitting enter on fields in a form that have no "onAction" attached will result in the browser automatically clicking the first buton in that form. So an undesired action will be executed
[fix] print preview giving errors on forms with tab panel
[fix] a combobox with a valuelist has an inconsistent behavior if the form is set in readonly
[fix] error with Date arguments in custom queries
[fix] using longblob instead of blob on mysql for media types
[fix] i18n error while importing null value
[fix] like-searches for short fields should not be truncated on database column length
[fix] custom queries with servoy-generated joins could cause carthesian product due to related sort
[fix] duplicate values in type-ahead field with related value list
[fix] switching tabs in find mode would lose find conditions
[fix] generated sequence names could become too long for Oracle
[fix] typeahead fields would hide popup when entered data reduced results to one
[fix] removed bogus auto-enter update warning when importing solution with new columns
[fix] web client: invalid data no longer saved
[fix] data not displayed correctly in subsummaries sorted on columns containing null values in some records
[fix] onTabChange method got wrong previous tabindex as argument
[fix] web client jumps to another tab after a find
[fix] currentcontroller.setDataProviderValue() not working in global method

Changes in the DBTreeView bean
Some new features were added to the DBTreeView bean, while remaining fully backwards compatible. Tree nodes can now have children from various related records. This is achieved through the setNRelationDataprovider method. The dataprovider can be a calculation returning the relation name.

New methods/types:
createBinding
activateBinding
removeBinding

Binding
setHasCheckBoxDataprovider
setCheckBoxValueDataprovider
setChildSortDataprovider
setFontTypeDataprovider
setImageMediaDataprovider
setImageURLDataprovider
setTextDataprovider
setToolTipTextDataprovider
setMRelationDataprovider
setNRelationDataprovider
setMethodToCallOnCheckBoxChange
setMethodToCallOnClick

Column
setDataprovider
setHeader

It's possible to add more columns resulting in a tree tableview.

Sample solutions
[enh] treeControl sample solution looks better in web client
[enh] sample crm shows displays hand cursor when hovering over buttons

[fix] pdf sample solution ships with data again

Changes in validation handling
In 3.5.3 validation handling is improved. User feedback was made consistent for all validation errors (number parse error, on-datachange validation and column validation). Fields containing invalid data will turn red and the user cannot leave the field. After a validation error, the user can restore the original value by hitting the escape key in Smart Client.

Important note
In release 3.5 - 3.5.2, the behaviour for application.setValueListItems with 2 array parameters was to apply the above logic automatically.
The new release will only apply 'type guessing' if true is supplied for the new parameter.

Previous release
http://forum.servoy.com/viewtopic.php?t=9398
Sandor Vroemisse
Servoy
User avatar
svroemisse
 
Posts: 171
Joined: Tue Dec 12, 2006 12:37 pm
Location: Amersfoort, NL

Postby Hans Nieuwenhuis » Thu Dec 06, 2007 9:53 pm

Great Job !!

Thanks for all the fixes and features.
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Postby ROCLASI » Thu Dec 06, 2007 10:29 pm

I guess this should be posted here as well.

The following is a response to a bugreport for the rawSQL plugin.

Jan Blok wrote:We did not correctly clear the exception field, so you kept receiving an old exception which happend in the past ...
fixed version: http://www.servoy.com/downloads/downloa ... rawSQL.jar (is usable with all servoy releases)
This fix just missed release 3.5.3


(Emphasis is mine)
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Twitter: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5385
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby Harjo » Thu Dec 06, 2007 10:46 pm

[enh] vertical scrollbar in table-view now only affects body


THANK YOU! THANk YOU! :D :D
This looks so much better now!
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4314
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

autoconvert parameter for setValueListItems

Postby svroemisse » Fri Dec 07, 2007 9:59 am

The new autoconvert parameter for application.setValueListItems needs a little more explanation:

Syntax
application.setValueListItems( name, displayValArray/dataset, [realValuesArray], [autoconvert(false)])

name : autoconvert
default : false

Description
Try to determine the value list type by looking at the real values (or display values if no real values are supplied).
For example, when all real values are strings consisting of only numbers, the value list will be interpreted as integer type.

Previously, autoconvert was on by default. This could lead to Servoy error messages when strings were converted to integers and then stored in text fields. In 3.5 it is off by default, preventing this type of error. On the other hand, if you want to store the data in an integer field, you want to set autoconvert to true.
Sandor Vroemisse
Servoy
User avatar
svroemisse
 
Posts: 171
Joined: Tue Dec 12, 2006 12:37 pm
Location: Amersfoort, NL

Re: Servoy 3.5.3

Postby Robert Huber » Tue Dec 11, 2007 1:19 pm

Hi

I assume there is a bug with default background, which is on the Body part in my solution now on every form white instead of the default grey/white (Mac). Same behaviour for Header part. The Footer, Title Header parts are still ok!
Can other confirm this and may I ask the Servoy team to correct that, thank you.

Best regards, Robert
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: Servoy 3.5.3

Postby ROCLASI » Tue Dec 11, 2007 1:25 pm

Robert Huber wrote:Can other confirm this and may I ask the Servoy team to correct that, thank you.

Yep, see http://forum.servoy.com/viewtopic.php?t=9606
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Twitter: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5385
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby Robert Huber » Tue Dec 11, 2007 3:02 pm

Hi Servoy Team

Thanks a lot for this enhancement - also from my side very, very welcome!

Unfortunatly it (still) doesn't work for our app designs because of the "Bean and tabless tab transparency error", i. e. (background) graphics don't shine through tab panels or beans.
Paul Baker has an example of this problem, see my and his replies at thread http://forum.servoy.com/viewtopic.php?t=9105

Regards, Robert


HJK wrote:
[enh] vertical scrollbar in table-view now only affects body


THANK YOU! THANk YOU! :D :D
This looks so much better now!
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: Servoy 3.5.3

Postby Robert Huber » Tue Dec 11, 2007 3:52 pm

Hello

Also the default borders for forms in tab panels seem to have changed, aestethically not very appealing to me. This is in stark contrast to the field shadows, which are muc better made.
Could you revert to the previous version, please.

Best regards, Robert[/quote]

BTW, the bottom part of the tab panel (list with Waldshut ...) is the footer, which at default shows default whereas the body part at default setting shows white!
You do not have the required permissions to view the files attached to this post.
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Postby yekinabud » Wed Jan 16, 2008 12:29 am

The 3.5.3 Announcement says:

Changes in validation handling
In 3.5.3 validation handling is improved. User feedback was made consistent for all validation errors (number parse error, on-datachange validation and column validation). Fields containing invalid data will turn red and the user cannot leave the field. After a validation error, the user can restore the original value by hitting the escape key in Smart Client.


I noticed this handy 'turns red and can't leave' convention applies to type validation (such as entering text in a column of type 'datetime') - but it doesn't seem to work if I add validation as a column property (such as when using the built-in email validator).

Is this the expected behavior or a bug?
yekinabud
 
Posts: 30
Joined: Wed Dec 05, 2007 10:06 pm

Postby rgansevles » Wed Jan 16, 2008 9:46 am

yekinabud,

User feedback is supposed to be the same for all 3 types of validation.
If you can create a small sample solution that shows its not, please create a case in our support system.

http://forum.servoy.com/viewtopic.php?t=6789

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1907
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Postby yekinabud » Wed Jan 16, 2008 5:47 pm

You're right - I couldn't duplicate the behavior in a new solution. It must be a problem with my existing solution. Thanks.
yekinabud
 
Posts: 30
Joined: Wed Dec 05, 2007 10:06 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest