Skip to Content
author's profile photo Former Member
Former Member

Order of methods in WEB UI

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jan 09, 2014 at 11:42 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 10:22 AM

    Hi Mamta,

    This is the order of methods before displaying the view :

    1) DO_INIT_CONTEXT

    2) DO_VIEW_INIT_ON_ACTIVATION

    3) DO_CONIG_DETERMINATION

    4) SET_VIEW_GROUP_CONTEXT

    5) DO_PREPARE_OUTPUT

    6) .HTM Page

    7) Get_XXX methods of the attributes.

    After the user perform some action the order will be as follows :

    1) DO_HANDLE_DATA

    2) SET_XXX methods of the attributes

    3) DO_VALIDATE_INPUT

    4) DO_HANDLE_EVENT ( Responsible for triggering the corresponding event handler )

    5) DO_FINISH_INPUT

    6) DO_CONFIG_DETERMIATION

    7) SET_VIEW_GROUP_CONTEXT

    8) DO_PREPARE_OUTPUT

    9) .HTM Page

    10) Get_XXX methods of the attributes.

    The round trip methods are( i.e Methods that trigger every time ) :

    1) DO_CONIG_DETERMINATION

    2) SET_VIEW_GROUP_CONTEXT

    3) DO_PREPARE_OUTPUT

    4) Get_XXX methods of the attributes.

    Regards,

    Bala.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2014 at 10:24 AM

    Hi,

    Below is the sequence:-

    DO_VALIDATE_INPUT

    DO_FINISH_INPUT

    DO_INIT_CONTEXT

    DO_CONFIG_DETERMINATION

    DO_PREPARE_OUTPUT

    .htm page

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Kumar Gaurav

      Hi Kumar,

      Iam sorry kumar, can i ask you one thing have you really Checked this component and the view you specified above by putting breakpoints?? 😉

      I am very much confident about my answer and check that component once when you are free.

      DO_INIT_CONTEXT will trigger only once i.e for the first time( before displaying the screen ). Do_validate_input and do_finish_input will trigger after the user input ( i.e after the view gets displayed and user gives some input or makes some action ).

      So Do_init_context will never trigger after the do_finish_input.. 😎

      Regards,

      Bala.

  • Posted on Jan 09, 2014 at 11:06 AM


    best way put debugger in all these methods and check the sequence.

    it will give more clear idea.

    Regards @Harish Kumar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.