We announce the immediate availability of Servoy 3.5 rc 3
NOTE: this is PRE-RELEASE SOFTWARE, use with caution and make BACKUPS before you start.
This version will be available shortly through auto update for users of versions later than 3.5 b2 (check via help menu → check for new version)
Changes
[enh] various performance improvements
[enh] web clients: browsers’ timezone used for displaying dates (tip: use timezone in date format)
[fix] made onTabChange event work
[fix] refreshing the method editors’ element tree didn’t work when staying in designer
[fix] in some situations, webclient could update disabled or readonly fields
[fix] valuelists with both display values and real values of type string would get mixed up in web client
[fix] web client would give internal error when clicking on an item that was being refreshed
[fix] class loading fix for web client; fixes tree and popup menu extensions
[fix] searching for a method would fail when there were two globals with the same name when using modules
[fix] empty fields are hidden when printing with print sliding shrinking is enabled for both width and height
[fix] printing fields with print sliding width would make fields grow beyond page boundaries
[fix] new i18n messages would only show after Servoy restart
[fix] mail body gets scrambled when body uses different character set than subject with both received and sent mail
[fix] runtime client giving ‘can not save data’ errors
[fix] added refresh support on db tree view bean
[fix] tooltips work with db treeview bean
[fix] redraw issue with db treeview bean
[fix] db tree view bean: nodename not correctly displayed
[fix] form styles couldn’t be saved with runtime build
[fix] fields with attached converter would only accept string values
[fix] added new function setExpandedNode on dbTreeView bean
[fix] when cloning a form, form name would get garbled
[fix] next page buttons would not show in web client on forms with vertical scrollbar disabled
[fix] added Sybase 10 recognition
Just updated from rc2 to rc3 but now cannot connect with WebClient.
Edit/Prefs/Services shows that HttpServices is not running. Htttp, Data Service IP etc are all unchanged from rc2 which was running WebClient just a few minutes ago
Is this using localhost and/or triggering a connect from the icon in the developer toolbar ?
Graham, I’ve just connected remotely to your server and opened a web client using SG and Chad so the server seems to support the remote access which is why I wonder whether you and Nicola are going in local ?
I click on the HttpService test button in the preference pane and see the following immediate error:
2007-06-21 22:30:58,668 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:684)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:554)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:682)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:554)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:939)
at java.net.URLConnection.getContent(URLConnection.java:682)
at java.net.URL.getContent(URL.java:1021)
at com.servoy.j2db.develop.e.b.char(Unknown Source)
at com.servoy.j2db.develop.e.b.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5554)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4021)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
at java.awt.Dialog$1.run(Dialog.java:517)
at java.awt.Dialog$2.run(Dialog.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:543)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at com.servoy.j2db.util.JEscapeDialog.setVisible(Unknown Source)
at com.servoy.j2db.J2DBClient.showAppPrefs(Unknown Source)
at com.servoy.j2db.cmd.ab.doIt(Unknown Source)
at com.servoy.j2db.cmd.c$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Will investigate some more.
Servoy Developer
Version 3.5 rc3-build 508
Java version 1.5.0_07-87 (Mac OS X)
I have tested webclient (3.5b2) with Safari (3). It gives me freezes all over the place.
For instance, navigating with the default navigator from record 1 to 2 is all I can do.
After that fun is over…
Web server works like a charm for us so I suppose there must be something funny going on with a specific Java version or OS.
What exact Java version are you guys running and on what OS?
Safari freezing WebClient after 2-3 selections has been an issue from last few releases of 3.5 - same behavior on OSX and Windows versions so guess it’s something special the Safari team included.
WebKit has nothing to do with other services like the java webstart or the embedded Tomcat server in Servoy. Unless they of course use WebKit which is not the case with Servoy.
As Rob Gansevles already noted in this thread that they made a change in the embedded Tomcat webserver and that you can fix it (in the mean time) by launching Developer with the following options:
I think the freeze of Safari is due to Safari and not Servoy, we can read all over internet that this version is the worth beta software apple ever done…
Even if you use Safari as a “standard” web browser it freeze all the time.
I realize we are somewhat pre-release on documentation. I am trying to use the new addFoundSetFilterParam to filter on a set of tables.
Some of my tables are “global” in nature and in use by several companies - I do not need to have these filtered except through the usual db node or .relation or search techniques.
Others form a set of tables that are shared by several companies. Typically, these will share a common database instance and separate connection string through DB Server (App Preferences) entries.
My shared records need to be filtered on a surrogate foreign key, type integer (INT4).
If I call addFoundSetFilterParam, will I filter the foundset:
a) Permanently, regarding of what is going on elsewhere in Search/Find activities?
b) Permanently, regardless of what else is going on in the DB node (I am less certain about this happening here than question a) … )
c) Can I call addFoundSetFilterParam with a NULL or other parameter to cancel the “permanent” setting on the foundset filter? In other words, how long is this parameter “permanent”? Session duration? Other?
Thanks,
Michael
ps: I have noted the sample code in the Servoy Method Editor:
//Add a filter parameter to limit the foundset permanently
var success = foundset.addFoundSetFilterParam(‘customerid’, ‘=’, ‘BLONP’);//possible to add multiple
foundset.loadAllRecords();//to make param(s) effective