Re: RE : Mobile Device Support

2012-01-15 Thread Maurizio Cucchiara
Sure, it is nothing special, just a simple interceptor [1], I'm sure there are many better ways to write it (you can distinguish tablet from mobile phone, you can inject the pattern, and so on) [1] http://pastebin.com/2v9sdZtw Twitter :http://www.twitter.com/m_cucchiara G+ :https://p

RE : Mobile Device Support

2012-01-15 Thread Matthieu.Marc
am.eu De : maurizio.cucchi...@gmail.com [maurizio.cucchi...@gmail.com] de la part de Maurizio Cucchiara [mcucchi...@apache.org] Date d'envoi : samedi 14 janvier 2012 09:26 À : Struts Users Mailing List Objet : Re: Mobile Device Support Although I consider very good what Christian said, som

Re: Mobile Device Support

2012-01-14 Thread Maurizio Cucchiara
Although I consider very good what Christian said, sometimes the client-side is not an option (f.i. you don't want to send the same amount of data on mobile devices). Conversely, sometimes the server-side could not be an option (f.i. you might choose an not-intrusive way for your code, you can choo

Re: Mobile Device Support

2012-01-13 Thread Christian Grobmeier
Look at responsive CSS frameworks. Actually I would not put anything for this into struts code if possible, you should make it just a css/javascript only trick: http://idesignow.com/css/7-css-grid-layout-frameworks-for-responsive-web-design.html I am a bootstrap fan, 2.0 is supporting responsive d