I have an XPage with a document DataSource on. I need to compute
the DataSource doc unid using information from another database. I
wanted to get the the server and filepath info of that other database
from the applicationScope, so guessed that I could set the
applicationScope variables in the "beforePageLoad" event, but that
executes after the DataSource unid calc as follows :-
using the classic XPage debugging tool print( "I'm here" ) ...
07/02/2010 14:25:45 HTTP JVM: DataSource
07/02/2010 14:25:45 HTTP JVM: DataSource
07/02/2010 14:25:45 HTTP JVM: beforePageLoad
07/02/2010 14:25:45 HTTP JVM: DataSource
07/02/2010 14:25:45 HTTP JVM: DataSource
Does the DataSource unid calc code always run before any controls on the XPage or is there no guarantee?
Why does it run 4 times, twice before and after the beforePageLoad event?
Thanks in anticipation. Jerry.