Skip to Content

Sequence of Methods Calls


I still need more clarity on sequence of method calls. I have 2 views within an Application which uses a component controller. I have mapped the I/O plugs to navigate from View 1 to View 2. User clicks on a button on view 1 and navigates to View 2. User again clicks on a button in view 2 to navigate to View 1.

Now I need to know thge sequence of method calls starting from init() for component controller, init() of view 1 , user clicking a button, firing of plug methods, calling of init() methods of views, doModify() and so on.. I hope I made myself clear.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 06, 2006 at 08:37 AM

    Hi Murli

    When you first call the view 2 by clicking on a button the init method will be called and then modifyView will be called and then you navigate to view 1 again and if again you click to navigate to view 2 at that time only modifyView will be called.

    In the particular session with a client init method is called only once in that particular session. for that view for that client.

    If you have any confusion tell me.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Murali Shanmugham

      Hi Murali

      You can check it by creating a test attribute in global controler and just append the values in particular methods saying in "in init method", "in inbound method", .....

      and then display that variable on view2 and you will get which method called first and which one later.

      Note: I am not able to test it right now as there is some problem with my server.