Ok, I've expanded my phase listener to provide data after every phase.... getViewId() changes to/shows main.jsp after the UPDATE_MODEL_VALUES phase. But after the RENDER_RESPONSE phase, main.jsp is displayed within the browser window, but the URL in the browser's address bar still shows login.jsp If I refresh the page or click on any of the main.jsp's actions, the browser's address bar correctly shows main.jsp. Also the after RENDER_RESPONSE code in the phase listener, never gets executed on the 1st appearance of main.jsp (maybe this is normal).
??? John -----Original Message----- From: John [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 10:38 PM To: MyFaces Discussion Subject: RE: [Tobago] - Why would the RESTORE_VIEW afterPhase is not be called. Through Navigation. <navigation-case> <from-action>#{login.login}</from-action> <from-outcome>authenticated</from-outcome> <to-view-id>/main.jsp</to-view-id> </navigation-case> -----Original Message----- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 10:12 PM To: MyFaces Discussion Subject: Re: [Tobago] - Why would the RESTORE_VIEW afterPhase is not be called. How do you link from the login.jsp page to the main.jsp page? regards, Martin On 9/8/06, John <[EMAIL PROTECTED]> wrote: > > > For some reason, directly after navigating from the login.jsp page to > the main.jsp page, the RESTORE_VIEW afterPhase is not called. > > My main.jsp page has three tabs... > > After arriving on the main.jsp page (url doesn't update BTW - still reads: > "http://localhost:9090/myfaces/login.jsp), if I click on another tab, > the RESTORE_VIEW afterPhase is called. > > Am I misunderstanding the way things should work? > > Thanks, > John -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

