Re: Trinidad PortletBridge buttons don't work fine

2010-07-05 Thread Yves Deschamps
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

Re: Trinidad PortletBridge buttons don't work fine

2010-07-05 Thread Yves Deschamps
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 = Faces

Re: Trinidad PortletBridge buttons don't work fine

2010-07-05 Thread Yves Deschamps
Thank you Michael, I try this: beforePhase="#{commonController.beforePhase}" afterPhase="#{commonController.afterPhase}"> and: public void beforePhase(PhaseEvent phase) { FacesContext context = FacesContext.getCurrentInstance(); cacheLocale = context.getViewRoot().getLocal

Re: Trinidad PortletBridge buttons don't work fine

2010-07-01 Thread Michael Freedman
I wonder if this problem is the same as 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

Trinidad PortletBridge buttons don't work fine

2010-07-01 Thread Yves Deschamps
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. ---