Created
September 5, 2010 02:11
-
-
Save ebruchez/565669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xh:html xmlns:xh="http://www.w3.org/1999/xhtml" | |
xmlns:xf="http://www.w3.org/2002/xforms" | |
xmlns:xxf="http://orbeon.org/oxf/xml/xforms" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xh:head> | |
<xh:title>XForms Submission with Action URL</xh:title> | |
<xf:model> | |
<xf:instance> | |
<response/> | |
</xf:instance> | |
<xf:insert ev:event="xforms-model-construct-done" nodeset="instance()" origin="xxf:get-request-attribute('response-instance')" /> | |
<xf:submission id="submit" method="post" ref="instance()" resource="{action}"/> | |
</xf:model> | |
</xh:head> | |
<xh:body> | |
<xf:submit submission="submit"> | |
<xf:label>Submit!</xf:label> | |
</xf:submit> | |
</xh:body> | |
</xh:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment