Skip to Content
avatar image
Former Member

get output in table when screen appears without using wddoinit method

Hi expert friends,

My requirement is that my application when executed should display employee details when screen appears. so i have written code in wddoinit method. Does coding in wddoinit method affects the performance? and if it affects performance is there any other way to display the employee details in table when screen appears without any action. please do reply friends.

Thanks,

Sudha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 26, 2008 at 12:02 PM

    Hi Sudha,

    You can create a separate method for populating the employee details in a table and call the method in the wddoinit.

    It would be gud to see the wddoinit with limited code in that.

    In case if u need u can reuse the same method for populating the table again.

    Regards...

    Arun.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2008 at 05:48 AM

    Hi Sudha,

    Writting code in wdDoInit does not affect performance.

    Infact it is recommended to write the code in wdDoInit in the given requirement.

    wdDoInit is only called once during the lifecycle of a view.

    -Ashutosh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2008 at 05:59 AM

    Hi sudha,

    Its advisable to code in WDDOINIT method. If u want to display the records without trigerring any action, this is the right way to do it. Go ahead...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 27, 2008 at 01:45 AM

    Hi Friends,

    Now I'm clear about wddoinit method. Thanks to all my friends who contributed to reply me.

    Add comment
    10|10000 characters needed characters exceeded