Stephan44
(Stephan Ritzkowski)
May 24, 2014, 10:24am
1
Hi,
I’m evaluation Vaadin7 with a Tomcat7
What If I want to serve different page-layouts for different devices (user-agent/screen resolutions) in my application.
E.g. I’d like to serve one layout for Phone-Like Devices, one for Tablets and a third one for desktop browsers.
How could i configure that? Custom Java Script and a navigator dispatching based on the result?
Thx in advance!
ansku
(Anna Koskinen)
May 26, 2014, 8:00am
2
I think the last time we had that in a project we had a forked Vaadin CDI addon and handled the device-type check in CDIUIProvider. Different UIs for different devices and so on.
Wolfgang14
(Wolfgang Wachsmuth)
May 26, 2014, 9:34am
3
Hello dreamwalker7,
vaadin offers you the full functionality for mobile devices with this add-on
https://vaadin.com/add-ons/touchkit
Sometimes a simple check list just doesn’t work
Juho9
(Juho Nurminen)
May 26, 2014, 10:05am
4
There’s a wiki article about using Vaadin’s own UIProviders
here
.