Thank you Michael,
I try this:
f:view locale=#{commonController.locale}
beforePhase=#{commonController.beforePhase}
afterPhase=#{commonController.afterPhase}
and:
public void beforePhase(PhaseEvent phase) {
FacesContext context = FacesContext.getCurrentInstance();
Sorry, i change the code with no effect...
public void beforePhase(PhaseEvent phase) {
FacesContext context = FacesContext.getCurrentInstance();
cacheLocale = context.getViewRoot().getLocale();
}
public void afterPhase(PhaseEvent phase) {
FacesContext context =
Thank you very much Michael.
Finaly i try your last distrib
(http://people.apache.org/~mfreedman/portlet-bridge/ ) and all is OK.
The portal is uPortal 3.2.1
I am very happy !
Michael Freedman a écrit :
I wonder if this problem is the same as PORTLETBRIDGE-100
Hi at all,
I have this view and this methods in controller , all is fine in servlet
mode but in portlet mode:
- the locale is not immedialty rendered (next page is ok)
- the reset change also the locale (in en where i am in fr)
without sense for me.
I wonder if this problem is the same as PORTLETBRIDGE-100
https://issues.apache.org/jira/browse/PORTLETBRIDGE-100
(https://issues.apache.org/jira/browse/PORTLETBRIDGE-100):
The first page of the JSF sample CarDemo has you set the locale for
the demo. You choose a language/region and the
5 matches
Mail list logo