public
Created

[ #316294 ] Event handling: ev:target doesn't work correctly across XBL boundaries

  • Download Gist
gistfile1.xml
XML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
xmlns:xbl="http://www.w3.org/ns/xbl"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl">
<xhtml:head>
<xforms:model id="model">
<xforms:instance id="instance">
<instance>Foo</instance>
</xforms:instance>
</xforms:model>
</xhtml:head>
<xhtml:body>
 
<xforms:message ev:target="my-input" ev:event="DOMActivate" value="'Foo'"/>
 
<fr:grid>
<xhtml:tr>
<xhtml:td>
 
<fr:grid>
<xhtml:tr>
<xhtml:td>
<xforms:input id="my-input" ref="."/>
</xhtml:td>
</xhtml:tr>
</fr:grid>
 
</xhtml:td>
</xhtml:tr>
</fr:grid>
 
</xhtml:body>
</xhtml:html>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.