We are pleased to announce the availability of Servoy 7.2 release candidate (releaseNumber 2012).
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.
To update a Servoy eclipse open “Check for updates” via help menu.
Client changes
[fix] SVY-4474 documentation on deprecated “currentcontroller”
[fix] SVY-4699 foundset.sort(function) throws a “couldn’t sort…”-error even though it is just in-memory
[fix] SVY-4649 Tooltip text and rolloverimage in the wc do not show if you don’t have a image
[fix] SVY-4588 ListBox ondatachange and onaction do not function like the smart client.
[fix] SVY-4499 ValueList formatting a integer field to display
[fix] SVY-4469 Listview scrolling problem when editing in the header
[fix] SVY-4414 element.myLabel.imageURL returns a NULL
[fix] SVY-4297 UI Converter not applied to calculations
Mobile client changes
[enh] SVY-4409 mobile master/detail as initial tablet support, utilizing navigator form property
[enh] SVY-4155 javascript types like JSHeader for mobile solutionModel
[enh] SVY-4683 Introduce a solution type ‘Mobile Shared Module’ so that the service solutions “knows” what relations really belong to the mobile solution
[enh] SVY-4580 Calendar field support for “date”, “time” and “datetime”
[enh] SVY-4243 Call backs for success and failure on mobile plugin syncData method
[fix] SVY-4541 phonegap.js not included when targeting native mobile app, and phonegap build config is customizable in mobile exporter Note on SVY-4541: this allows the mobile client to use all phonegap api features!
[fix] SVY-4750 All edited columns are saved during a sync, not only the the changed columns Note on SVY-4750: its important to understand developers can no longer expect the mobile client to send all column to your REST service solution! (you might need some “exisitence” checks on the pushed content)
Developer changes
[enh] SVY-4432 Enable auto update check eclipse notification in Servoy Developer
[enh] SVY-4279 Support for high resolution displays (ie. Mac Retina)
[fix] SVY-4518 Formatting cannot be reset correctly.
[fix] SVY-4511 add a column in a table
[fix] SVY-4501 Auto Enter Servoy seq Not able to change initial next value
[fix] SVY-4478 Unattended installation of 7.1 server fails on Linux
[fix] SVY-4283 When running Servoy tests from ServoyJSUnitTestRunner print the js file names of the failing tests
Server changes
[fix] SVY-4319 Javascript error “TypeError: element is null” in wicket-event.jar when opening some dialogs.
[fix] SVY-4262 Issues in the new tool for running Servoy tests in a continuous integration server
Plugins changes
[fix] SVY-4510 When unchecking checkbox of child node in DBTreeView, icon change does not go through until clicking the text of another node in the tree.
Great thanks for the release, the double scroll bar and setSelectedIndex() are fixed for the WC but I have elements that prefixed with sv_ and this gives the following error,
[attachment=0]error.png[/attachment]
When I do controller.setSelectedIndex(40) I get an “Internal Error” when the 40th record
has not been shown/rendered first. If I scroll to the last record in the list then go back
to the first record and do controller.setSelectedIndex(40) there’s no error.
The server log shows:
java.lang.ArrayIndexOutOfBoundsException: 39
at org.apache.wicket.MarkupContainer.children_get(MarkupContainer.java:1113)
at org.apache.wicket.MarkupContainer.children_get(MarkupContainer.java:1052)
at org.apache.wicket.MarkupContainer.get(MarkupContainer.java:1042)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.scrollViewPort(WebCellBasedView.java:5118)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.scrollViewPort(WebCellBasedView.java:4966)
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.generateResponse(WebEventExecutor.java:784)
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:405)
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:375)
at com.servoy.j2db.server.headlessclient.MainPage.respond(MainPage.java:2151)
at com.servoy.j2db.server.headlessclient.PageContributor$EventCallbackBehavior.respond(PageContributor.java:460)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at com.servoy.j2db.server.servlets.Zt.doGet(Zt.java:5)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Peter de Groot:
I have elements that prefixed with sv_ and this gives the following error,
[attachment=0]error.png[/attachment]
Regards,
Peter
Peter,
In mobile, elements starting with this prefix may clash with servoy-generated code.
We added this check for all client types in case you want to port some existing code to mobile.
rgansevles:
A module is not supposed to run as a standalone client, that is why changed the start-client buttons.
How do you expect us to debug batch-processors or any headless client that is not a Smart-/Web-client solution?
True, I haven’t had the time to really look at 7.2rc yet. Perhaps there are other ways in this release to do that, if not then this is a serious breakage of existing functionality.
ROCLASI:
How do you expect us to debug batch-processors or any headless client that is not a Smart-/Web-client solution?
True, I haven’t had the time to really look at 7.2rc yet. Perhaps there are other ways in this release to do that, if not then this is a serious breakage of existing functionality.
ROCLASI:
How do you expect us to debug batch-processors or any headless client that is not a Smart-/Web-client solution?
True, I haven’t had the time to really look at 7.2rc yet. Perhaps there are other ways in this release to do that, if not then this is a serious breakage of existing functionality.
After installing I encounter the following problems:
the property JSForm.allvariables is depricated. It seems it must be replaced everywhere with the method JSForm.getVariables()
the variable document hides a property (same for parameter, function etc.). It seems all these has to be changed. Although I cannot find where this property comes from. Is there a reason for this change? Which object is the owner of property ‘document’?