Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
5.2.4
-
None
-
None
Description
when browser's preferred languages are e.g. "fr", "de" (in this order) and application supported locales are "de" and default then tapestry choose the default locale. but according to http specification (http://tools.ietf.org/html/rfc2616#section-14.4) it should choose "de".
also class org.apache.tapestry5.test.PageTester has only metod setPreferedLanguage(Locale preferedLanguage) while there should be a method that takes a list of locales as a parameter