Re: Serving different content depending on User Agent

2012-02-18 Thread Jeremy Thomerson
On Mon, Feb 13, 2012 at 8:21 AM, Richard W. Adams rwada...@up.com wrote: Could someone explain the meaning of the string argument to Session.setStyle()? Unfortunately, the javadocs give no clue, other saying that a skin can be used. Is the string the name of a stylesheet file, or something

Re: Serving different content depending on User Agent

2012-02-18 Thread Martin Makundi
Also there is: https://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html https://cwiki.apache.org/OOOUSERS/branding-style-guide.html 2012/2/19 Jeremy Thomerson jer...@wickettraining.com: On Mon, Feb 13, 2012 at 8:21 AM, Richard W. Adams rwada...@up.com wrote: Could

RE: Serving different content depending on User Agent

2012-02-13 Thread Wilhelmsen Tor Iver
I would like to know what is the best way to serve slightly different content depending on the User Agent string coming from the browser. You can pick it up in Application.newRequestCycle() or WebApplication.newWebRequest(), and use it to pick a value for Session.setStyle() and then use

RE: Serving different content depending on User Agent

2012-02-13 Thread Richard W. Adams
invested in fleshing them out would be well spent would prevent a lot of questions like this. From: Wilhelmsen Tor Iver toriv...@arrive.no To: users@wicket.apache.org users@wicket.apache.org Date: 02/13/2012 02:07 AM Subject:RE: Serving different content depending on User

RE: Serving different content depending on User Agent

2012-02-13 Thread Wilhelmsen Tor Iver
Could someone explain the meaning of the string argument to Session.setStyle()? It's used in parsing resource names, and often in code as well, e.g. hiding detail views for mobile browsing. If you have a Locale of no_NO and a style of mobile Wicket will look for e.g.

Serving different content depending on User Agent

2012-02-11 Thread david
David -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Serving-different-content-depending-on-User-Agent-tp4379183p4379183.html Sent from the Users forum mailing list archive at Nabble.com