W3C home > Mailing lists > Public > www-forms@w3.org > April 2005

Status of <xforms:listener/>

From: Suzan Foster <suzan.foster@nerocmediaware.nl>
Date: Wed, 20 Apr 2005 12:34:19 +0200
Message-ID: <4266302B.4020100@nerocmediaware.nl>
To: www-forms@w3.org

Is <xforms:listener/> part of, or in the process of becoming part of the 
xforms working draft? With the following code i'm able to lose my 
dependencies on what the plugin offers me in the way of members in 
scripting by using an instance to pass the index value of the repeat:

<xforms:trigger>
  <xforms:label>Move down</xforms:label>
  <xforms:action ev:event="DOMActivate">
    <xforms:setvalue bind="curindex" value="index('repeatid')"/>
    <xforms:listener event="DOMActivate" handler="javascript:move_down()"/>
    <xforms:setindex index="index('repeatid')+1" repeat="repeatid"/>
    <xforms:rebuild/>
  </xforms:action>
</xforms:trigger>

Regards,
Suzan Foster.
Received on Wednesday, 20 April 2005 10:34:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:00 GMT