cancel
Showing results for 
Search instead for 
Did you mean: 

get output in table when screen appears without using wddoinit method

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Friends,

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

Former Member
0 Kudos

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...

former_member185029
Active Contributor
0 Kudos

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