Download "user manual"

Transcript
Component
Description
Embedded XFDL form
<SCRIPT language="XFDL" id="XFDLData"
type="application/vnd.xfdl; wrapped=comment">
<!-- [RTF Field BodyInline] -->
</SCRIPT>
HTML Script tag surrounding BodyInline field that will contain the
embedded XFDL form as plain text.
End tag for Body
</BODY>
All content on this page - except the hidden first line containing the field
Query_String_Decoded must be set to Pass-Thru HTML.
As the last action, we will assign a WebQueryOpen agent to the form. Open the
WebQueryOpen event and assign the @Formula
@Command([ToolsRunMacro]; "RenderXFDLPrepop")
The completed form should look like this (Figure 9-18).
Figure 9-18 Form RenderXFDLPrepop preparing a embedded XFDL form with prepopulation
Now store the completed form.
Tip: The decisions are arbitrary as to what content to render in the form as static text, what
content to render as computed text, and what content will be available as content of rich
text fields. We could, for example, create the whole content as one large character stream
containing the embedding information, the prepopulation data, and the XFDL file, and store
it to one single rich text field as well. The structure given in this chapter should make the
internal structure visible.
Chapter 9. Domino integration
297