W3C home > Mailing lists > Public > www-forms-editor@w3.org > January 2006

Question about dispatching value changed and node bindings

From: David Landwehr <david.landwehr@solidapp.com>
Date: Wed, 18 Jan 2006 15:20:50 +0100
Message-ID: <43CE4EC2.8080806@solidapp.com>
To: www-forms-editor@w3.org
Dear Working Group,

I have an observation/question about xforms-value-changed and what the 
controls are binding to. The question is about what a single node 
binding is actually bound to. One control is bound to the element 
'calculated' another control is bound to the text node under 
'calculated'. The text node has a computed calculate expression attached 
which will make its value identical to 'value'. The questions are then:

1. is it true that only the control that is bound to the text node will 
dispatch xforms-value-changed?
2. if 1. is true is it then logical that even though the computed 
calculate expression (in this case) will change the same node as if the 
nodeset expression had been 'calculated'?

See the testcase for a complete example with description.

Best regards,

David Landwehr (david.landwehr@solidapp.com)
Chief Executive Officer, SolidApp
Web: http://www.solidapp.com
Office: +45 48268212
Mobile: +45 24275518

Received on Wednesday, 18 January 2006 14:20:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:08 UTC