RE: Event handlers defined in irrelevant form blocks

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

===================================

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