Re: AW: adjust my web application for smartphone like iPhone

2011-12-28 Thread mili
Thank you very much for yours helps. I wish all you happy new year! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/adjust-my-web-application-for-smartphone-like-iPhone-tp4235060p4240802.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: AW: adjust my web application for smartphone like iPhone

2011-12-27 Thread David Legg
Both excellent suggestions - thanks! The thought had struck me that this problem is similar to localisation. Perhaps I could extend certain components to accept a style as well as a locale where necessary. David Legg - To

Re: AW: adjust my web application for smartphone like iPhone

2011-12-27 Thread Serban Balamaci
Hi, The way I do this is to use the style attribute in the wicket session. Wicket's default ResourceStreamLocator looks for files with the pattern filename_style_locale.html and falls back to filename.html So I have a RequestCycleListener that decides based on headers what type of a request it is,

Re: AW: adjust my web application for smartphone like iPhone

2011-12-26 Thread Jeff Schneller
There was a posting about this about a year ago in regards to Walmart's mobile site. I believe the best way to handle this is use the idea of localization. Basically create localized versions of your pages using the wicket built in tools. Instead of basing localization off of country/language u

Re: AW: adjust my web application for smartphone like iPhone

2011-12-26 Thread David Legg
Using css media queries is not necessarily the correct answer for responses to smartphone requests. Media queries form part of the toolkit which comes under the banner of 'Responsive Web'. The problem with media queries on their own is that you may ask a smartphone to download a large image a

AW: adjust my web application for smartphone like iPhone

2011-12-26 Thread Stefan Lindner
This is a css case. Just query the web for "css media query" and you will find lots of examples for resolution dependant css styling. -Ursprüngliche Nachricht- Von: mili [mailto:mili...@yahoo.de] Gesendet: Montag, 26. Dezember 2011 17:33 An: users@wicket.apache.org Betreff: adjust my web