Servoy 5.1 rc 1

Release notes for Servoy betas

Re: Servoy 5.1 rc 1

Postby lwjwillemsen » Wed Feb 03, 2010 5:50 pm

jcompagner wrote:
lwjwillemsen wrote:Case id 269546, Table view does not scroll into selectedIndex of form.foundset.

After upgrading to RC 1 (Version: 5.1.0 rc1 - build 953) we experience the problem as described fixed in RC1 ! :cry:

Before RC 1 the scrolling was ok !

Regards,


what are you exactly doing?
Because what is fixed in RC1 that it stays exactly where it is.
So if you scroll to position X
go away from the tableview
then back
it is still in position X

But i guess you do something like:

onAction()
{
forms.xxx.foundset.setSelectedIndex(190)
forms.xxx.controller.show();
}

?

if you do this:

onAction()
{
forms.xxx.controller.show();
forms.xxx.foundset.setSelectedIndex(190)
}

then it works fine.

I will look if i can improve this. But the problem is that with the current multi select support constantly moving to the selection doesn't make much sense.
Also when you don't call setSelectedIndex() the form should be stable (no sudden scrolling because you moved for a moment to a different form and then back again)


What we do in our framework (Sanneke) is a toggleView which is a switch from a detailview form to a (different) tableview form.
What we do in the switch is a tabelviewform.foundset.loadRecords(detailviewform.foundset).

I can see in the tableviewform is that the selectedIndex is correct afterwards (ie after the loadRecords) but the selectedIndex is not in the UI.
In stead the first 20 or 30 records are in the view window.

I think the tableview view window update behavior (after selectedIndex change) has changed...

We dont use multi-select in our framework browser forms and viewer forms.

It seems that at the onShow event of the form the currently selectedIndex is not committed to the UI, ie not in the view port/window !
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 5.1 rc 1

Postby jcompagner » Wed Feb 03, 2010 6:26 pm

ahh ok, so thats when you set the foundset
Thats an easier fix.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8863
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 5.1 rc 1

Postby lwjwillemsen » Wed Feb 03, 2010 6:43 pm

jcompagner wrote:ahh ok, so thats when you set the foundset
Thats an easier fix.


Ok, but beware : at the moment of the form.foundset.loadrecords() that form is not (yet) shown...

Feel free to fix all of the easier fixes...
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 5.1 rc 1

Postby martinh » Wed Feb 03, 2010 6:51 pm

If you get this error during checkout solution from repository

com.servoy.eclipse.core.Zb.Zb: Application server does not accept client connections.

Then do the following steps:

1) Check if your developer property file has the same settings as your server property file except the 'servoy.application_server.startRepositoryAsTeamProvider' set to 'true' on server side?
2) Remove your workspace completely

It looks like some old setting in de workspace was left and caused this error
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Servoy 5.1 rc 1

Postby pmo » Wed Feb 03, 2010 10:14 pm

After upgrading to RC1, my servoy developer does not recoginize my database server connections anymore...
Here's what's in the "Problems" tab in developer:
Is anyone having this problem? thanks

java.lang.RuntimeException: Could not initialize table editor server is not enabled or valid
at com.servoy.eclipse.ui.editors.TableEditor.setInput(TableEditor.java:13)
at org.eclipse.ui.part.MultiPageEditorPart.init(MultiPageEditorPart.java:786)
at com.servoy.eclipse.ui.editors.TableEditor.init(TableEditor.java:172)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:1105)
at org.eclipse.ui.internal.views.markers.ExtendedMarkersView.openMarkerInEditor(ExtendedMarkersView.java:254)
at org.eclipse.ui.internal.views.markers.ExtendedMarkersView.openSelectedMarkers(ExtendedMarkersView.java:1562)
at org.eclipse.ui.internal.views.markers.ExtendedMarkersView$4.open(ExtendedMarkersView.java:568)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3542)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1270)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1076)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3440)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
pmo
 
Posts: 16
Joined: Mon Jan 05, 2009 8:47 pm

Re: Servoy 5.1 rc 1

Postby jcompagner » Wed Feb 03, 2010 11:05 pm

pmo wrote:After upgrading to RC1, my servoy developer does not recoginize my database server connections anymore...
Here's what's in the "Problems" tab in developer:
Is anyone having this problem? thanks


it cant open the table editor for a table because your database server is disabled or invalid.
What happens if you just open the server itself? Is there something wrong with your connection?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8863
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 5.1 rc 1

Postby birgit » Thu Feb 04, 2010 12:43 pm

Since this release I see 58 warnings as follows on the problems tab:

RowBGColorCalculation of form 'BasLog' is linked to an entity that doesn't exist. BasLog.frm /HadesBasics/forms HadesBasics/forms/BasLog.frm Form Problem

The row bg color calculation is linked to a global method. This is a rather new possibility. Why do we get warnings now?

Regards
Birgit Rieder
7r gmbh, Switzerland
SAN Developer
User avatar
birgit
 
Posts: 302
Joined: Sun Jan 15, 2006 10:04 pm
Location: Switzerland

Re: Servoy 5.1 rc 1

Postby martinh » Thu Feb 04, 2010 12:49 pm

birgit wrote:Since this release I see 58 warnings as follows on the problems tab:

RowBGColorCalculation of form 'BasLog' is linked to an entity that doesn't exist. BasLog.frm /HadesBasics/forms HadesBasics/forms/BasLog.frm Form Problem

The row bg color calculation is linked to a global method. This is a rather new possibility. Why do we get warnings now?

Regards


I noticed the same problem. You can fix this by changing in 4.1 your RowBGColorCalc put it first on -none-, save your change and then change it back to the correct method and save it again.
Then export your 4.1 solution and import it again into 5.1. In my case that solved this warning
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Servoy 5.1 rc 1

Postby lvostinar » Thu Feb 04, 2010 12:56 pm

birgit wrote:Since this release I see 58 warnings as follows on the problems tab:

RowBGColorCalculation of form 'BasLog' is linked to an entity that doesn't exist. BasLog.frm /HadesBasics/forms HadesBasics/forms/BasLog.frm Form Problem

The row bg color calculation is linked to a global method. This is a rather new possibility. Why do we get warnings now?

Regards


What happens if you clean the projects (Project -> Clean...) ? Do the markers reappear ? What if you restart developer then clean ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1064
Joined: Tue Feb 19, 2008 10:53 am

Re: Servoy 5.1 rc 1

Postby birgit » Thu Feb 04, 2010 1:00 pm

They reappear.
Birgit Rieder
7r gmbh, Switzerland
SAN Developer
User avatar
birgit
 
Posts: 302
Joined: Sun Jan 15, 2006 10:04 pm
Location: Switzerland

Servoy 5.1 rc 1, next tableview problem

Postby lwjwillemsen » Thu Feb 04, 2010 3:27 pm

Next tableview problem :

When navigating in tableview (Smartclient) beyond the 200 record limit with the PgDn key the complete foundset will be loaded !!

When I navigate (not too quickly !) with the down arrow key beyond the 200 record limit the next 200 will be loaded (as it should).

Are we paying the price for the new foundset multi select option ? :cry:
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 5.1 rc 1, next tableview problem

Postby martinh » Thu Feb 04, 2010 3:31 pm

lwjwillemsen wrote:Next tableview problem :

When navigating in tableview (Smartclient) beyond the 200 record limit with the PgDn key the complete foundset will be loaded !!



Great I want a functionality to load a complete foundset > 200 records :lol: :lol: :lol:
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Servoy 5.1 rc 1, next tableview problem

Postby lwjwillemsen » Thu Feb 04, 2010 4:16 pm

martinh wrote:
lwjwillemsen wrote:Next tableview problem :

When navigating in tableview (Smartclient) beyond the 200 record limit with the PgDn key the complete foundset will be loaded !!



Great I want a functionality to load a complete foundset > 200 records :lol: :lol: :lol:


Hi Martin ,

I think no :lol: when you have 450000 records in the table (as in our case) !

Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 5.1 rc 1, next tableview problem

Postby jcompagner » Thu Feb 04, 2010 4:26 pm

martinh wrote:
lwjwillemsen wrote:Next tableview problem :

When navigating in tableview (Smartclient) beyond the 200 record limit with the PgDn key the complete foundset will be loaded !!



Great I want a functionality to load a complete foundset > 200 records :lol: :lol: :lol:


i am really really sorry then, because i fixed this behavior.... :)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8863
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 5.1 rc 1, next tableview problem

Postby lwjwillemsen » Thu Feb 04, 2010 7:38 pm

jcompagner wrote:
martinh wrote:
lwjwillemsen wrote:Next tableview problem :

When navigating in tableview (Smartclient) beyond the 200 record limit with the PgDn key the complete foundset will be loaded !!



Great I want a functionality to load a complete foundset > 200 records :lol: :lol: :lol:


i am really really sorry then, because i fixed this behavior.... :)


Hi Johan,

I see above fix not present in RC2.

In RC3 ? And if yes, when will rc3 be available ?

Reagrds
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

PreviousNext

Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 0 guests