on 11-06-2006 8:16 AM
Hi
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.
Regards,
Murali.
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.
Ninad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Ninad
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.