Hi Scott, Not really working for me as casLoginView.jsp, when displayed with
https://xxxx/cas/login?service=myapp&locale=en will display the page in the appropriate language, but the browser's locale ${pageContext.request.locale} still contains "fr_FR" which is the country/language of my chrome installation. Any hints for the second question regarding app depending casLoginView? (Sorry I should have create two separate messages, but thought they might be linked) Georges ________________________________________ From: Scott Battaglia [[email protected]] Sent: 13 August 2011 16:07 To: [email protected] Subject: Re: [cas-dev] Using the locale in jsp Is the Locale not available via this? ${pageContext.request.locale} On Fri, Aug 12, 2011 at 4:39 AM, Georges Rossopoulos <[email protected]<mailto:[email protected]>> wrote: Hi, I am enhancing the standard login page to add a link to a place where the user can retrieve his password, another one where he can create an account, etc... which is fairly standard. So, in casLoginView.jsp I would like to build the URL using the locale, since the links require a language parameter. Is there a fancy <spring > directive that returns the locale, or should I add a message “locale” in each “language” message file ? Besides, I am also using the application dependent CSS style sheets. Since the casLoginView.jsp is located in a folder with jsp/default/ui, I was wondering if the “default” suggests that there is also a mechanism to use a different casLoginView.jsp for an application, rather than changing the default one. Thank you for your hints Georges -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
