The language is not passed to the web application, but if you enable session attribute sharing (in jahia.properties) you might be able to retrieve it in the session.
Regards,
Serge Huber
At 17:34 28.07.2004, you wrote:
Thanks Diego,
I've tried, but it doesn't work anymore....
I've got nothing in my locale object....
....
Diego Rossi <[EMAIL PROTECTED]> wrote:
- Hi.
- In a webapp you should use:
- Locale locale = (Locale) request.getAttribute( "org.jahia.locale" );
- Regards.
- From: MINGO Matthieu [mailto:[EMAIL PROTECTED]]
- Sent: Wednesday, July 28, 2004 10:51 AM
- To: [EMAIL PROTECTED]
- Subject: Get Page Language
- Hi everybody,
- I've developped a webapp which make a different request into the database in fonction of the language of the page, where it's deployed.
- I used the line code :
- String langue=request.getParameter("org.jahia.language");
- in order to retrieve the language, but it doesn't work
- Is there another issue ?
- Thanks in advance.
- Matt
- --------------------
- Matthieu MINGO
- Bordeaux, FRANCE
Cr�ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Cr�ez votre Yahoo! Mail
Le nouveau Yahoo! Messenger est arriv� ! D�couvrez toutes les nouveaut�s pour dialoguer instantan�ment avec vos amis. T�l�chargez GRATUITEMENT ici !
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
