[opencms-dev] include tag problem
Y. Glebov
yglebov at eclipse-sp.com
Fri Aug 11 16:41:36 CEST 2006
Hi guys.
Have a little problem here.
Have a template file that contains this lines:
<cms:include page="../elements/promo_block.jsp">
<cms:param name="__locale">en</cms:param>
</cms:include>
And element file that contains:
org.opencms.jsp.CmsJspActionElement cms =
new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);
String locale = cms.getRequestContext().getLocale().toString();
out.println(locale);
Locale appears not "en", and content from file is displayed in another
language that English.
Locale "en" properly added to locales list in config file.
What's the problem?
Thanks, Yuri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060811/c5349afe/attachment.htm>
More information about the opencms-dev
mailing list