Can you provide a better description of how to reproduce this problem?
Thanks,
Matt
On 3/30/07, ros <[EMAIL PROTECTED]> wrote:
Hi!
I have a strange effect with struts2+appfuse2 - all struts tags are in
system default locale after locale=ru parameter passed. (fmt tags are ok)
It look like I18nInterceptor is not compatible with current implementation
of appfuse LocaleFilter.
Quick solution is to redefine interceptor in struts.xml
<!-- Interceptor i18n to use our locale parameter to switch
struts actions locale -->
<interceptor name="my_i18n"
class="com.opensymphony.xwork2.interceptor.I18nInterceptor">
<param name="parameterName">locale</param>
</interceptor>
And override old i18n with new my_i18n in the interceptors stack:
<interceptor-ref name="my_i18n"/>
Is it appfuse LocaleFilter problem?
Thanks.
--
View this message in context:
http://www.nabble.com/struts2-switch-locale-tf3493568s2369.html#a9757479
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]