Orchestra do not send an @InitView notification to the ViewController during a 
non redirect navigation
------------------------------------------------------------------------------------------------------

                 Key: ORCHESTRA-8
                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-8
             Project: MyFaces Orchestra
          Issue Type: Bug
          Components: ViewController
    Affects Versions: 1.0
         Environment: JSF 1.1 & Facelets
            Reporter: Mario Ivankovits
            Assignee: Mario Ivankovits



The lifecycle is as follows:

BEFORE RESTORE_VIEW(1): null
AFTER RESTORE_VIEW(1): /all.xhtml
BEFORE APPLY_REQUEST_VALUES(2): /all.xhtml
AFTER APPLY_REQUEST_VALUES(2): /all.xhtml
BEFORE PROCESS_VALIDATIONS(3): /all.xhtml
AFTER PROCESS_VALIDATIONS(3): /all.xhtml
BEFORE UPDATE_MODEL_VALUES(4): /all.xhtml
AFTER UPDATE_MODEL_VALUES(4): /all.xhtml
BEFORE INVOKE_APPLICATION(5): /all.xhtml
AFTER INVOKE_APPLICATION(5): /edit1.xhtml

as you can see, the viewId changes during INVOKE_APPLICATION. Now, that we do 
not see a RESTORE_VIEW no InitView will be sent.

InitView was meant to be sent after the view has been created, regardless if 
this is a restoreView or createView. Since we sit in the PhaseListener we do 
not see the ViewHandler invokes but just those from the PhaseListener where the 
RESTORE_VIEW is missing then.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to