Page 1 of 1

Server shows different layouts

PostPosted: Tue Feb 25, 2014 11:44 am
by Peter de Groot
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
startedFromDevScrollbar.png
startedFromDevScrollbar.png (22.35 KiB) Viewed 6051 times


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
startedFromAppServerNoScrollbar.png
startedFromAppServerNoScrollbar.png (19.53 KiB) Viewed 6051 times

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(TM) 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(TM) 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

Re: Server shows different layouts

PostPosted: Tue Feb 25, 2014 1:36 pm
by Harjo
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!

Re: Server shows different layouts

PostPosted: Tue Feb 25, 2014 8:35 pm
by kwpsd
In addition to Harjo's suggestion, you can also accomplish the same thing programmatically (in onSolutionOpen()):

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


I hope this helps!

Re: Server shows different layouts

PostPosted: Wed Feb 26, 2014 4:26 am
by Peter de Groot
kwpsd wrote:In addition to Harjo's suggestion, you can also accomplish the same thing programmatically (in onSolutionOpen()):

Code: Select all
    // 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

Re: Server shows different layouts

PostPosted: Wed Feb 26, 2014 8:40 pm
by kwpsd
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?

Code: Select all
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.

Re: Server shows different layouts

PostPosted: Thu Feb 27, 2014 10:44 pm
by 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

Re: Server shows different layouts

PostPosted: Mon Mar 03, 2014 9:21 am
by Peter de Groot
Yeroc wrote: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