Server shows different layouts

Hi all,

We are developing a web application using Servoy 7.3.1, if we run the application from developer using Internet Explorer 11 we see this
[attachment=1]startedFromDevScrollbar.png[/attachment]

as you can see there is a scroll bar visible, but the same list looks like this when started from the application server using the same browser
[attachment=0]startedFromAppServerNoScrollbar.png[/attachment]
no scroll bar.

Does anyone has an idea whats causing this behavior?

When the application is started using Firefox everything looks as designed…

The application server uses JAVA and OS version as stated below
JVM Information
java.vm.name=Java HotSpot™ Client VM
java.version=1.6.0_18
java.vm.info=mixed mode
java.vm.vendor=Sun Microsystems Inc.

Operating System Information
os.name=Windows 2003
os.version=5.2
os.arch=x86

The development computer uses
JVM Information
java.vm.name=Java HotSpot™ Client VM
java.version=1.7.0_21
java.vm.info=mixed mode, sharing
java.vm.vendor=Oracle Corporation

Operating System Information
os.name=Windows 7
os.version=6.1
os.arch=x86

TIA,
Peter

on the server you use pagination? and in your developer not??

and btw, the list in developer and server is not the same (different data)
Even you font-type is not the same!

In addition to Harjo’s suggestion, you can also accomplish the same thing programmatically (in onSolutionOpen()):

    // Activate the table view scroll bars in web client.
    
    application.putClientProperty( APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true )

I hope this helps!

kwpsd:
In addition to Harjo’s suggestion, you can also accomplish the same thing programmatically (in onSolutionOpen()):

    // Activate the table view scroll bars in web client.
application.putClientProperty( APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true )



I hope this helps!

Hi,

That’s what I already do in the onSolutionOpen, the strange thing is when I start the web application from the application server using Firefox everything is fine, scroll bars are shown, but IE 11 (in our case) shows page numbers.

When I start the web application from developer IE 11 and firefox both show the scroll bars…

Regards,

Peter

We use that code in a web application we are developing using Servoy Developer version 6.1.6 - build 1439, and test it on a Servoy Server running 7.3.1 - build 2022, and it shows the scroll bars when displayed in Internet Explorer 11 running in Windows 8.1, Firefox 27.0.1 running in Windows 7, and an Android-based tablet browser (Chrome?).

Have you searched your code to see if you turn off the scroll bars?

application.putClientProperty( APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, false )

Are you able to reproduce the no-scrollbars scenario in a simple test solution? If so, it may be a bug and should be reported.

Other than the above, I am out of ideas. I would interested to know what the solution is. Good luck.

Peter,

Check to make sure IE11 isn’t in compatibility mode (under Compatibility View settings) when connecting to your app server. Depending on the compatibility mode setting it could be emulating IE7. With IE7 Servoy automatically falls back to using pagination.

Corey

Yeroc:
Peter,

Check to make sure IE11 isn’t in compatibility mode (under Compatibility View settings) when connecting to your app server. Depending on the compatibility mode setting it could be emulating IE7. With IE7 Servoy automatically falls back to using pagination.

Corey

Disabling the compatibility solved the problem, thank you very much.

Regards,

Peter