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

Re: Event questions.

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 28 Jul 2006 19:00:41 +0200
To: Rogelio Pérez Cano <rogeliop@satec.es>, www-forms@w3.org
Message-ID: <op.tder7ftdsmjzpq@acer3010.lan>

On Thu, 27 Jul 2006 14:42:42 +0200, Rogelio Pérez Cano <rogeliop@satec.es>  
> 1- The latest XForms 1.0 recommendation doesn´t forbid a handler  
> attribute
> in an <action> element,so does it mean that an <action> can be defined  
> with
> a handler attribute pointing to another <action>?
> (This can be usefull in order to reuse code).

In theory there is no reason why this shouldn't work. (But do you know the  
difference between theory in practice? In theory they are the same, but in  
practice they aren't.)

> 2- What is the interpretation of an <action> in terms of XML Events, is  
> it a
> listener or can be always considered like a handler?

Usually <action> is a handler.

> 3- What is the aim of having events in a <model> element, more  
> specifically
> what does this sentence mean?
> "Attributes from XML Events are allowed on this element to facilitate
> creating observers"

There are some events targeted to the <model> element. See

Best wishes,

Steven Pemberton
Received on Friday, 28 July 2006 17:01:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:18 UTC