The
hostPseudoModel
object is the root
object of the host model. Use the host properties and methods at
run time.
Examples of hosts include Acrobat and XFAPresentationAgent (server).
Some hosts may not support all properties and methods. For example,
XFAPresentationAgent does not support
xfa.host.
messageBox
.
The properties or methods return different values depending on
the rendering agent. When executed on a server the scripts return
values of the server environment and when executed on a client,
like Adobe Acrobat or web browser, the scripts return values of
the client. For example, xfa.host.version returns XMLFM version
when executed on a server and returns the Adobe Acrobat version
when executed in Adobe Acrobat.
For desired results, develop according to these API differences.
Displays a dialog box containing a question
and an entry field for the user to reply to the question. The return
value is a string containing the user's response. If the user presses
the cancel button on the dialog box, the response is null.