on 01-09-2014 9:49 AM
Hi Experts,
Please let me know when a component will be loaded, then what will be the sequence of calling the methods below:
a. do_prepare_output
b.do_finish_input
c.do_handle_event
d.do_config_determination
e.do_init_context
f.do_validate_input
g.if_toolbar~get_buttons
h.html page
Your answers will be really helpful to me.
Thanks & Regards,
Mamta
Hi,
First thses methods will be called when component is loading.
do_finish_input
do_init_context
do_config_determination
do_prepare_output
if_toolbar~get_buttons
h.html page
these methods will be called on certain event only.
do_handle_event - if you perform something on WEBUI (clicking button or enter )
do_validate_input - if you change something on the view then this method will be called
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepika,
Please check again once and correct me if i am wrong.
Do_finish_input will never trigger before Do_init_context.
Do_finish_input will trigger only after the user action on the view. There will be a method DISPATCH_INPUT which is responsible for triggering the DO_HANDLE_DATA, DO_HANDLE_EVENT and DO_FINISH_INPUT methods. Dispatch_input will be called only after the user action.
Regards,
Bala.
Hi mamta,
I spoke about a single view, even i got confused when kumar said about his sequence I have mentioned the general one when we open any page for the first time.
When we open a page for the first time will do_finish_input trigger before do_init_context?
So I asked him to give an example, even i checked that component and the overview page which he specified but the end result is what i expected.
When you are navigating between two view the do_finish_input that triggers will be of the first view.. So that is after a user action on the first view. The do_init_context will be of the second view as the view is getting loaded for the first time.
Regards,
Bala.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.