- From: Klotz, Leigh <Leigh.Klotz@xerox.com>
- Date: Tue, 6 Feb 2007 09:51:04 -0800
- To: <Nick_Van_den_Bleeken@inventivedesigners.com>
- Cc: "Clark, John" <CLARKJ2@ccf.org>, <www-forms@w3.org>, <www-forms-request@w3.org>
Oops! -----Original Message----- From: Nick_Van_den_Bleeken@inventivedesigners.com [mailto:Nick_Van_den_Bleeken@inventivedesigners.com] Sent: Tuesday, February 06, 2007 12:00 AM To: Klotz, Leigh Cc: Clark, John; www-forms@w3.org; www-forms-request@w3.org Subject: RE: Event handlers defined in irrelevant form blocks All, Didn't this recently change by issuing erratum 31.2 Rigorously Define Non-relevant Form Control (http://www.w3.org/2006/03/REC-xforms-20060314-errata.html#E31b)? It explicitly states that "A critical part of this erratum is that XForms action handlers for events on the form control are disabled when the control is non-relevant" this the of course repeated in the 'Changed specification wording' section "When a form control becomes non-relevant, it must receive event xforms-disabled and then the XForms action handlers that are listening for events on the non-relevant form control must be disabled." Or am I reading this incorrectly? Regards, Nick Van den Bleeken - Research & Development Inventive Designers Phone: +32 - 3 - 8210170 Fax: +32 - 3 - 8210171 Email: Nick_Van_den_Bleeken@inventivedesigners.com www-forms-request@w3.org wrote on 02/05/2007 07:00:37 PM: > > John, > No, relevance has no effect on action handlers. Relevance does affect > submission and validation (modulo the submission/@relevant attribute). > There are also some events that are sent to in response to relevance or > instance node appearance/disappearance (xforms-enabled, xforms-disabled) > so you will see some effect there. (Does anybody think differently > here?) > > Although it doesn't have to be the case, most XForms 1.0 integrations > with XHTML use relevance to control the :enable and :disabled CSS > properties. > > If you need to control actions, take a look at the new conditional > attributes on actions in XForms 1.1. > Leigh. > > -----Original Message----- > From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On > Behalf Of Clark, John > Sent: Monday, February 05, 2007 7:24 AM > To: www-forms@w3.org > Subject: Event handlers defined in irrelevant form blocks > > > If you define an event handler somewhere in a form element, and that > form element becomes irrelevant, does that disable (or in any other way > change) the event handler somehow? Does it matter whether or not the > observer for the event handler is a descendant of the irrelevant form > element? > > Take care, > > John L. Clark | Systems Analyst > | Cardio-Thoracic Surgery Research > Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 > | (216) 445-6011 > > =================================== > -------------------------------------------------- Inventive Designers' Email Disclaimer: http://www.inventivedesigners.com/email-disclaimer
Received on Tuesday, 6 February 2007 17:51:37 UTC