mobile Apllication via Wicket
Hey everyone, i must started a apllication with wicket. This is a Web-Application. A must find out, Who send the Request? (SmartPhones or Desctop PC) I started this with a Javascript that's call by "browserdetect". Now I'm searching a way to realise that's in wicket. Can u help me, from what object or variable i get this information? please. thank u Madlip -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/mobile-Apllication-via-Wicket-tp3036192p3036192.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: mobile Apllication via Wicket
woaaahhh that's great man! Thank you very very much!!! u god man! For other people her is the exemplar: final ServletWebRequest req = (ServletWebRequest) RequestCycle.get().getRequest(); final String remoteAddr = req.getHttpServletRequest().getRemoteAddr(); final String platform = req.getHttpServletRequest().getHeader("User-Agent"); System.out.println("Das kann es sein: " + remoteAddr); System.out.println("Das kann es sein: " + platform); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/mobile-Apllication-via-Wicket-tp3036192p3036229.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: mobile Apllication via Wicket
We use the excellent wurfl open source project to help us out with devices. On Wed, Nov 10, 2010 at 3:49 PM, jcgarciam wrote: > > In server side, just check the User-Agent header from your HttpRequest. > > > On Wed, Nov 10, 2010 at 11:41 AM, Madlip89 [via Apache Wicket] < > ml-node+3036192-1884488973-65...@n4.nabble.com >> wrote: > >> Hey everyone, >> >> i must started a apllication with wicket. >> >> This is a Web-Application. A must find out, Who send the Request? >> (SmartPhones or Desctop PC) >> >> I started this with a Javascript that's call by "browserdetect". Now I'm >> searching a way to realise that's in wicket. Can u help me, from what object >> or variable i get this information? >> >> please. >> >> thank u >> >> Madlip >> >> -- >> View message @ >> http://apache-wicket.1842946.n4.nabble.com/mobile-Apllication-via-Wicket-tp3036192p3036192.html >> To start a new topic under Apache Wicket, email >> ml-node+1842946-398011874-65...@n4.nabble.com >> To unsubscribe from Apache Wicket, click >> here<http://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>. >> >> >> > > > -- > Sincerely, > JC (http://www.linkedin.com/in/jcgarciam) > Work smarter, not harder!. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/mobile-Apllication-via-Wicket-tp3036192p3036212.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: mobile Apllication via Wicket
In server side, just check the User-Agent header from your HttpRequest. On Wed, Nov 10, 2010 at 11:41 AM, Madlip89 [via Apache Wicket] < ml-node+3036192-1884488973-65...@n4.nabble.com > wrote: > Hey everyone, > > i must started a apllication with wicket. > > This is a Web-Application. A must find out, Who send the Request? > (SmartPhones or Desctop PC) > > I started this with a Javascript that's call by "browserdetect". Now I'm > searching a way to realise that's in wicket. Can u help me, from what object > or variable i get this information? > > please. > > thank u > > Madlip > > ---------- > View message @ > http://apache-wicket.1842946.n4.nabble.com/mobile-Apllication-via-Wicket-tp3036192p3036192.html > To start a new topic under Apache Wicket, email > ml-node+1842946-398011874-65...@n4.nabble.com > To unsubscribe from Apache Wicket, click > here<http://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>. > > > -- Sincerely, JC (http://www.linkedin.com/in/jcgarciam) Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/mobile-Apllication-via-Wicket-tp3036192p3036212.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org