> 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 that style in your template- and resource names. For more advanced selection of content, use the selected value in a custom URL mapper. - Tor Iver --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
