source: resources/sandbox/xforms-ready-submission.xhtml @ 49df10c

Revision 49df10c, 777 bytes checked in by Eric van der Vlist <vdv@dyomedea.com>, 6 years ago (diff)

Moving the sandbox under resources so that it is available under oxf:/

  • Property mode set to 100644
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet href="xsltforms.xsl" type="text/xsl"?>
3<?xsltforms-options debug="yes"?>
4<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"
5    xmlns:ev="http://www.w3.org/2001/xml-events" >
6    <head>
7        <title>Submission on xforms-ready</title>
8        <xf:model id="model">
9            <xf:instance id="instance">
10                <data xmlns="">Whatever</data>
11            </xf:instance>
12
13            <xf:submission id="echo" ref="instance('instance')" method="POST"
14                resource="http://localhost:8088/exist/apps/betterform/sandbox/echo.xq" replace="all"/>
15
16            <xf:send ev:event="xforms-ready" submission="echo"/>
17
18        </xf:model>
19    </head>
20    <body> </body>
21</html>
Note: See TracBrowser for help on using the repository browser.