Skip to content

Instantly share code, notes, and snippets.

@ebruchez
Created August 20, 2010 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebruchez/539375 to your computer and use it in GitHub Desktop.
Save ebruchez/539375 to your computer and use it in GitHub Desktop.
<html xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml">
<head>
<xforms:model id="main-model" xxforms:client.events.filter="DOMFocusIn DOMFocusOut">
<xforms:instance id="control">
<instance xmlns="">
<choice/>
</instance>
</xforms:instance>
</xforms:model>
</head>
<body>
<xforms:select1 ref="choice">
<xforms:item>
<xforms:label/>
<xforms:value/>
</xforms:item>
<xforms:item>
<xforms:label>Item 1</xforms:label>
<xforms:value>1</xforms:value>
</xforms:item>
<xforms:message ev:event="xforms-value-changed">Change: <xforms:output value="."/> </xforms:message>
</xforms:select1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment