[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2342) Provide ability to override the default locale resolution

Thomas Heute (JIRA) jira-events at lists.jboss.org
Fri Mar 13 04:01:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBPORTAL-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457094#action_12457094 ] 

Thomas Heute commented on JBPORTAL-2342:
----------------------------------------

The way to do it is to use a customized interceptor and modify the interceptor stack configuration. The interceptor can be in a seperate jar so there is no need to modify existing binaries.

All the interceptor stacks are made to be customizable, the locale interceptor is the most obvious one as defining the best locale for a user depends a lot on requirements (this could be done with Geo-ip tools as well).

At best we can add an interceptor for a static locale, this would mean that a user would just have to modify the interceptor stack to use this one instead of the default one.

> Provide ability to override the default locale resolution
> ---------------------------------------------------------
>
>                 Key: JBPORTAL-2342
>                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2342
>             Project: JBoss Portal
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Portal Core
>    Affects Versions: 2.6.6 Final
>            Reporter: Mike Millson
>
> Provide a way to override the locale specified by the browser and force using a specified locale.
> Modify the portal:service=Interceptor,type=Server,name=Locale MBean to include optional configuration that would allow hard coding the locale.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list