Servoy 3.5.4

Servoy announcements

Servoy 3.5.4

Postby svroemisse » Fri Feb 15, 2008 7:00 pm

We announce the immediate availability of Servoy 3.5.4

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
[new] generate hyperlinks in pdf with pdf_ouput plugin when printing from html_area
[new] function setBorder is added to all form elements to change a border at runtime

[enh] port configurable on udp plugin.setPort()
[enh] DBTreeview bean: added removeAllRoots function
[enh] ability to revert to system locale: added "default" option in locale preferences combobox
[enh] property in admin page to disable serverside pack
[enh] support for Sybase Adaptive Server Enterprise
[enh] there are 2 new top level css classes for check-/ comboboxes: check and combobox for the respective display types
[enh] made UI property modification possible via application.setUIProperty(...)

[fix] tab panels not transparent (smart client fix)
[fix] background color not honored for header body parts
[fix] setSize() on tabpanel was not being updated immediately in the GUI
[fix] pdf_output not displaying form elements on Macs
[fix] webclient disabled tabs and selected tabs looked similar, changed bgcolor of disabled tabs
[fix] prevented exception from appearing in the log for fields using a lookup on a column with null constraint
[fix] fields using valuelists with display and real values of different types will no longer accept other values than those in the display list
[fix] application.getUserPropertyNames no longer returns names prepended with 'user.'
[fix] onAction after onDatachange not fired in list view
[fix] grand summary part and header part back on correct location
[fix] a form with a self-joined record showing in a tab did not remove the new record after databaseManager.rollbackEditedRecords()
[fix] transparency for fields broken on Mac OSX 10.5
[fix] anchors broken on portal elements for resizing
[fix] when no special element security settings were specified, the table security settings were lost
[fix] when importing record in smartclient via file import when having a form visible, the transaction was not always committed
[fix] UI refresh problem on setValueListItems
[fix] disabled calendar field still allowed to change the date by using the icon
[fix] getLabelForElementNames() no longer returns nameless elements
[fix] ServerTwoWaySocket accept socket fix
[fix] opening form in find mode that contains field of type calendar property reports format error
[fix] checkboxes with value list attached do not work in webclient
[fix] IE browser back button workaround
[fix] auto complete/type ahead workaround for IE
[fix] we did not correctly clear the exception field in the rawSQL plugin
[fix] spaces in dialog window names are now considered the same as "_". In other words, in Servoy scripting using the window name "a b" is the same as using "a_b"
[fix] non-modal dialogs in IE7 now appear in foreground instead of background
[fix] Japanese Kanji (Alt+~ while in japanese keyboard) onAction triggering in fields when it was not supposed to
[fix] legacy use of function showFormInDialog(form); from form 1 show form 2 in popup, then from the popup show form 3; when closed, the size was incorrect
[fix] Japanese character problem in HTTP plugin
[fix] form in dialog title issue: title doesn't show the first time
[fix] number format rounding problem in fields
[fix] plugins.mail.receiveMail scrambling Kanji text from some Japanese email servers
[fix] several DBTreeView problems
[fix] checkbox border painting via style
[fix] focus was lost in web client when updates occured
[fix] OSX problem on focus and show of dialog
[fix] slowness after print dialog opens on OSX
[fix] unable to focus a textfield on Linux after an update in a calculation
[fix] support for multiple constraints between two tables when creating relations from foreign keys
[fix] switch-server fix for smart client
[fix] related foundsets using dynamic tab panels
[fix] table triggers would also be triggered on rollback
[fix] for media in columns with long names (Oracle)
[fix] added support for serialization of BigDecimals in serialization plugin
[fix] table events references are not removed if table is deleted
[fix] databaseManager.convertFoundSet() didn't work in every situation

Sample Solutions
[fix] typo in calculation in sample crm

Previous release
http://forum.servoy.com/viewtopic.php?t=9603
Last edited by svroemisse on Tue Feb 19, 2008 4:06 pm, edited 1 time in total.
Sandor Vroemisse
Servoy
User avatar
svroemisse
 
Posts: 171
Joined: Tue Dec 12, 2006 12:37 pm
Location: Amersfoort, NL

Bug in 3.54 in StyleClass on Comboboxes?

Postby ellenmeserow » Fri Feb 15, 2008 11:26 pm

I think some of the changes you did from my bug submissions on comboboxes have a bug in 3.5.4. Just upgraded, and the comboboxes default color has now changed from white to grey, and they've all become center justified. My default in my stylesheet is white and left justfied -- also I can't seem to get the styleclass property popup list to activate for comboboxes, though it works in 3.5.3.
ellenmeserow
 
Posts: 366
Joined: Sat Aug 07, 2004 10:18 pm
Location: Seattle, WA USA

Postby rioba » Sat Feb 16, 2008 6:24 am

I think there is now a more serious bug: names of new elements (or changed names) are not saved when restarting Servoy. This affects comboboxes, checkboxes, rectangles, but not text fields, as far as I have tested. This is a big issue because a missing name in a form could cause a lot of troubles. Any suggestion for a workaround?

Besides that, setting a CSS property for check fields adds a border to the field, even if border is set to 0. Font formatting is respected. Setting the border property to empty in the properties panel doesn't remove it. The only way to hide the border is to use .setBorder("EmptyBorder,0,0,0,0") in an onShow method.

Same for tabpanel: no CSS property to choose from is shown in the properties panel.

Image_Media fields now enlarge the image they display if the border is set to empty, while they keep the original proportions if there is a border.

MacOS X 10.5.2
Servoy Developer
Version 3.5.4-build 517
Java version 1.5.0_13-119 (Mac OS X)
DB MySql 5.0.51a
Last edited by rioba on Sat Feb 16, 2008 5:53 pm, edited 4 times in total.
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Postby patrick » Sat Feb 16, 2008 10:13 am

Regarding comboboxes: you can now define a style for comboboxes on the top level of CSS. So I think the description above is not quite right. It's not field.combobox, but simply combobox. So just define a style combobox and you have control over comboboxes only. Also, combobox.mySpecialCombo should work and mySpecialCombo should then be usable from the style class popup.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby Harjo » Sat Feb 16, 2008 10:05 pm

This version, is introducing also strange things..
All my tabpanels are white in the inside (using XP with Windows L&F)
instead of default grey.

If I set the tabpanel transparant off, than the default background grey is back again. But than If someone is using Kunstoff L&F, I'll get that ugly dark-grey at the top of the tabpanel.. grr.... :?

I liked it, the way it was..... :(
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: Bug in 3.54 in StyleClass on Comboboxes?

Postby Harjo » Sat Feb 16, 2008 10:45 pm

ellenmeserow wrote:I think some of the changes you did from my bug submissions on comboboxes have a bug in 3.5.4. Just upgraded, and the comboboxes default color has now changed from white to grey, and they've all become center justified. My default in my stylesheet is white and left justfied -- also I can't seem to get the styleclass property popup list to activate for comboboxes, though it works in 3.5.3.


Ellen, make this in your stylesheet:
combobox
{
background-color: #ffffff;
border-width: 0;
text-align: left;
}

that works for me.
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

Postby ROCLASI » Sun Feb 17, 2008 2:46 pm

(emphasis mine)
svroemisse wrote:[enh] there are 2 new top level css classes for check-/ comboboxes: field.check and field.combobox for the respective display types

Just for clarification: field.combobox and field.check in your stylesheet doesn't work.
As noted in this thread already you need to use 'combobox' and 'check'. Thus without the 'field' prefix.


Btw is it the correct (default) behavior for checkboxes to be centered ??
Can this be changed to left align? Or even better according to the text orientation setting (left-to-right = left align, etc.)


Edit: fixed a typo
Last edited by ROCLASI on Sun Feb 17, 2008 9:56 pm, edited 1 time in total.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

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

Postby patrick » Sun Feb 17, 2008 6:24 pm

I think center alignment is indeed the default for JComboboxes. But can't you just create a combobox style that does the left alignment for you?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby rioba » Sun Feb 17, 2008 7:39 pm

Patrick and others suggest creating a style for comboboxes (or checkboxes) in the Css sheet. But styles (using "combobox" and "check" without the field. prefix, as Robert Ivens correctly suggests) are not recognized and they are not shown in the properties panel. So creating styles to modify the new default behavior does not help at all. At least this is what happens to me in MacOS X Leopard 10.5.2, so I decided to revert to 3.5.3 until this issue is resolved (and the disappearing names one, also).

I'm sorry. There was an issue with my backend database that did not save data. The problems therefore were not caused by Servoy 3.5.4, besides the new default behavior of comboboxes and checkboxes.
Last edited by rioba on Mon Feb 18, 2008 6:50 am, edited 1 time in total.
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Postby ROCLASI » Sun Feb 17, 2008 9:53 pm

Hi Patrick,
patrick wrote:I think center alignment is indeed the default for JComboboxes. But can't you just create a combobox style that does the left alignment for you?


I was talking about the checkboxes, not the comboboxes.
Create a field and put a valuelist on it with multiple values. Then set the display type to checkboxes. You will see they are centered. Something they only started doing in 3.5.4.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

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

Postby ROCLASI » Sun Feb 17, 2008 10:03 pm

Hi rioba,

rioba wrote:Patrick and others suggest creating a style for comboboxes (or checkboxes) in the Css sheet. But styles (using "combobox" and "check" without the field. prefix, as Robert Ivens correctly suggests) are not recognized and they are not shown in the properties panel.

When you create a style with the name 'combobox.mySpecialStyle' then 'mySpecialStyle' will show up in the properties panel for comboboxes.
Using 'combobox' alone will apply to any combobox that doesn't have a specific styleClass set.

Hope this explains things.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

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

Postby patrick » Sun Feb 17, 2008 10:25 pm

Hi Robert, I wasn't reading right. And checkboxes can't be made left aligned by a style?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby ROCLASI » Sun Feb 17, 2008 10:37 pm

Hi Patrick,
patrick wrote:Hi Robert, I wasn't reading right. And checkboxes can't be made left aligned by a style?

Yes they can. But that wasn't my question ;)
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

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

Postby Jan Blok » Mon Feb 18, 2008 11:29 am

rioba wrote:I think there is now a more serious bug: names of new elements (or changed names) are not saved when restarting Servoy. This affects comboboxes, checkboxes, rectangles, but not text fields, as far as I have tested. This is a big issue because a missing name in a form could cause a lot of troubles. Any suggestion for a workaround?

We are unable to reproduce this, also a name is just another property, and all names are on element level (not specific to combos/checks/etc), for persistence there is nothing special about names (except you can not have duplicate names)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby jcompagner » Mon Feb 18, 2008 12:57 pm

ROCLASI wrote:Btw is it the correct (default) behavior for checkboxes to be centered ??
Can this be changed to left align? Or even better according to the text orientation setting (left-to-right = left align, etc.)


I think this was always the case that they where default centered.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Next

Return to Announcements

Who is online

Users browsing this forum: No registered users and 13 guests