Sun 20 May 2007
Overloading %SubmitScriptName
Posted by ChiliJoe under PeopleSoft • Tips & Techniques • PIA[4] Comments
As discussed in the previous post, all actions in a component that eventually require a server trip would invoke %SubmitScriptName for submitting the page. As such, it sometimes provide a convenient point for performing javascript modifications on the page.
This is achieved by storing a reference to the original function, and redefining %SubmitScriptName to perform your custom logic — invoking the original function as needed.
The following sample scenarios may help to illustrate this technique.
read more…