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 use the browser 
type and device type. There are examples to do localization in wicketstuff 
examples. 


On Dec 26, 2011, at 7:32 PM, David Legg <[email protected]> wrote:

> 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 and 
> hence incur an expensive phone bill only to let the smartphone shrink the 
> downloaded image to fit on the screen.  It would have been better to download 
> a smaller image in the first place.
> 
> I believe what is needed is something that analyses the browser request as it 
> enters the server and different page designs generated according to the 
> actual browser device dimensions.
> 
> Actually, this very question has been on my mind for a little while and I'm 
> glad someone else (Mili) has asked first!
> 
> The last time I looked into this the best way of detecting the capabilities 
> of the browser  was WURFL: -
> 
>  http://wurfl.sourceforge.net/
> 
> And to learn a bit more about why media queries are not necessarily the best 
> answer: -
> 
>  
> http://www.delicious.com/redirect?url=http%3A//www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/
> 
> Regards,
> David Legg
> 
> 
> On 26/12/2011 22:33, Stefan Lindner wrote:
>> 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:[email protected]]
>> Gesendet: Montag, 26. Dezember 2011 17:33
>> An: [email protected]
>> Betreff: adjust my web application for smartphone like iPhone
>> 
>> I want to adjust my web application for smartphones. have wicket a function, 
>> who the app can ajust automatically the size of the content.
>> 
>> Thank you for your Help!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to