initOnLoad Attribute
Specifies whether the data object should be initialized on document load.
Type
xsf:xdYesNo
Remarks
The initOnLoad attribute is an optional attribute of the dataObject element.
Allowed values are "yes" and "no". The default value is "no".
Example
The following is an example of the initOnLoad attribute as it is used in the dataObject element:
<xsf:dataObjects>
<xsf:dataObject
name="EmployeeNames"
schema="EmployeeNames.xsd"
initOnLoad="yes">
<xsf:query>
<xsf:adoAdapter
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;
Password="";User ID=Admin;
Data Source=infnwind.mdb;Mode=Share Deny None;
Extended Properties="";..."
commandText="select [EmployeeID],[LastName],[FirstName]
from [Employees] as [Employees]"
queryAllowed="yes"
submitAllowed="yes">
</xsf:adoAdapter>
</xsf:query>
</xsf:dataObject>
</xsf:dataObjects>