We need to internationalize the contents of our layout templates (page titles, some
running text, injection of language-specific stylesheets), but the Locale set in the
LocaleInterceptor (based on session, cookies, user preference) is not being propagated to
the request received by the layout JSP.
Looking at org.jboss.portal.theme.impl.JSPLayout, it seems this is because the layout
dispatcher is being passed the original client request, as opposed to a request object
with the preferred locales augmented by the LocaleInterceptor. My grasp of the various
request objects flowing around the system is tenous, so I'm not quite sure what the
right solution should be here.
Any suggestions?
p
JBoss Portal 2.4.1
Custom LocaleInterceptor
JBoss AS 4.0.4
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003918#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...