W3C home > Mailing lists > Public > www-forms@w3.org > February 2007

RE: Event handlers defined in irrelevant form blocks

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Mon, 5 Feb 2007 10:00:37 -0800
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF402C08EEF@usa7061ms01.na.xerox.net>
To: "Clark, John" <CLARKJ2@ccf.org>, <www-forms@w3.org>

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

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

If you need to control actions, take a look at the new conditional
attributes on actions in XForms 1.1.

-----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

Take care,

    John L. Clark  |  Systems Analyst
                   |  Cardio-Thoracic Surgery Research
 Cleveland Clinic  |  9500 Euclid Ave.   |  Cleveland, OH 44195
                   |  (216) 445-6011

Received on Monday, 5 February 2007 18:01:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:55 UTC