URI: http://localhost:8086/OnlineDemo/forms/upload_file.xhtml

    <html>
         <head>
            <meta content="text/xml; charset=UTF-8" http-equiv="Content-Type"/>
            <title>Upload file</title>
            <style type="text/css">/*paged media */ div.header {display: none } div.footer {display: none } /*@media print { */ @page { size: A4; margin: 10%; @top-center { content: element(header) } @bottom-center { content: element(footer) } } /* PARAGRAPH STYLES */ .DocDefaults {display:block;margin-bottom: 4mm;line-height: 115%;font-family: Calibri;font-size: 11.0pt;} .Normal {display:block;} .Heading1 {display:block;page-break-after: avoid;margin-top: 0.33in;margin-bottom: 0in;font-weight: bold;color: #365F91;font-family: Calibri;font-size: 14.0pt;} .ListParagraph {display:block;position: relative; margin-left: 0.5in;} /* CHARACTER STYLES */ .DefaultParagraphFont {display:inline;} .Hyperlink {display:inline;color: #0000FF;text-decoration: underline;} .Heading2Char {display:inline;font-weight: bold;color: #4F81BD;font-family: Calibri;font-size: 13.0pt;} .optionChar {display:inline;color: #0000C0;font-style: italic;font-family: Courier New;}</style>
            <link href="../../bfResources/scripts/dojox/highlight/resources/highlight.css" rel="stylesheet" type="text/css"/>
            <link href="reference.css" rel="stylesheet" type="text/css"/>
            <xf:model id="C1">
                <xf:instance id="instance-1">
                    <files>
                        <file action="" filename="">
                            <data/>
                        </file>
                    </files>
                </xf:instance>
                <xf:bind id="C2" nodeset="file/data" type="base64Binary"/>
                <xf:submission action="/OnlineDemo/services/grabbag" id="save" method="post">
                    <xf:action ev:event="xforms-submit" id="C3">
                        <xf:setvalue id="C4" ref="file/@action" value="bf:appContext('action')"/>
                    </xf:action>
                </xf:submission>
            </xf:model>
        </head>
        <body class="soria" style="margin: 30px">
            <div>
                <xf:upload id="upload1" ref="file/data">
                    <xf:filename id="C5" ref="/files/file/@filename"/>
                    <bf:data bf:enabled="true" bf:readonly="false" bf:required="false" bf:schema-value="" bf:type="base64Binary" bf:valid="true"/>
                </xf:upload>
                <xf:submit id="C6" submission="save">
                    <xf:label id="C7">Process</xf:label>
                </xf:submit>
            </div>
        </body>
    </html>