Post 5 made on Monday September 6, 2010 at 17:50 |
johnmack Long Time Member |
Joined: Posts: | October 2005 42 |
|
|
Apologies for resurrecting an old thread but I've encountered a problem with page.onEntry that contradicts what has been written here.
I've been replacing some initialisation code in my page scripts with equivalent page.onEntry code at activity level. This has had the effect of causing my page scripts to fail and me to pull my hair out until I read the following in the Developer's Guide on page 104.
"The function will be called after execution of the page script, if any"
My problem was that I was setting up a couple of variables in the onEntry function that were used in the page script and, as the page script is called first, it was failing.
Whilst I can go back to my initialisation code, I don't understand why it has been done this way.
Any thoughts?
John
|
|
|