1 Reply Latest reply on Feb 4, 2011 8:58 AM by Nick Belaevski

    rich:tree - request life-cycle

    Lukáš Fryč Master

      Hi guys,

       

      I found that life-cycle of tree ajax requests is little confusing, can you please describe why it behaves as follows?

       

       

      Toggling - @immediate=false

       

      • RESTORE_VIEW 1
      • APPLY_REQUEST_VALUES 2
      • PROCESS_VALIDATIONS 3
      • * tree toggle listener invoked
      • UPDATE_MODEL_VALUES 4
      • INVOKE_APPLICATION 5
      • RENDER_RESPONSE 6

       

      Toggling - @immediate=true

       

      • RESTORE_VIEW 1
      • APPLY_REQUEST_VALUES 2
      • * tree toggle listener invoked
      • PROCESS_VALIDATIONS 3
      • UPDATE_MODEL_VALUES 4
      • INVOKE_APPLICATION 5
      • RENDER_RESPONSE 6

       

      Selection - @immediate=false

       

      • RESTORE_VIEW 1
      • APPLY_REQUEST_VALUES 2
      • * selection change listener invoked
      • PROCESS_VALIDATIONS 3
      • UPDATE_MODEL_VALUES 4
      • INVOKE_APPLICATION 5
      • RENDER_RESPONSE 6

       

      Selection - @immediate=true

       

      • RESTORE_VIEW 1
      • APPLY_REQUEST_VALUES 2
      • * selection change listener invoked
      • PROCESS_VALIDATIONS 3
      • UPDATE_MODEL_VALUES 4
      • INVOKE_APPLICATION 5
      • RENDER_RESPONSE 6