You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/12/08 22:41:36 UTC

[jira] Commented: (WW-2748) Preparable interceptor called prior to i8n

    [ https://issues.apache.org/struts/browse/WW-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45182#action_45182 ] 

Musachy Barroso commented on WW-2748:
-------------------------------------

I think we can change it. As a matter of fact "i18" is before "prepare" in other stacks. I will change it.

> Preparable interceptor called prior to i8n
> ------------------------------------------
>
>                 Key: WW-2748
>                 URL: https://issues.apache.org/struts/browse/WW-2748
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.2
>            Reporter: Dean Pullen
>            Priority: Minor
>             Fix For: 2.1.3
>
>
> The preparable interceptor is called prior to i8n in the default stack.
> This means any calls to getText etc will retrieve messages based on the default locale, not the user's selected locale.
> Obviously this can be fixed by implementing your own stack and listing the i8n first, however, we can't understand why i8n wouldn't be prior to preparable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.