Which method we get invoked on page load?
-
doComplete()
-
doCancel()
-
doInit()
-
doUpdate()
C
Correct answer
Explanation
The doInit() method is the standard lifecycle method invoked when a page is first loaded or initialized in the PS Framework. doComplete() is called after successful form submission, doCancel() handles cancellation actions, and doUpdate() is for update operations during page lifecycle.