Thanks. Probably wrong question. Best practice seems to be to detect capability supported in the user agent, not type, version etc.
http://stackoverflow.com/questions/13478303/correct-way-to-use-modernizr-to-detect-ie On Monday, August 11, 2014 11:42 PM, Muhammad Gelbana <m.gelb...@gmail.com> wrote: I would @Inject Tapestry's Request <http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/Request.html> and read it's headers. Just google on how to detect a specific browser. Since you'll probably handle multiple browsers you may find these components very handy: http://tapestry.apache.org/switching-cases.html http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Delegate.html *---------------------* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Tue, Aug 12, 2014 at 12:33 PM, Net Dawg <net.d...@yahoo.com.invalid> wrote: > Does tapestry have a way to detect browser/version within component/page > class? Or by convention recommend some procedure? To support logic <t:if > test="${browserType.version}">rendering something</t:if>