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

Re: XML Events: event handlers for multiple events?

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Sat, 05 Aug 2006 15:43:16 -0700
Message-ID: <44D51F04.6000301@orbeon.com>
CC: www-forms <www-forms@w3.org>

Mark Birbeck wrote:
> 
> Hi Erik,
> 
>> Am I right to say that it is not possible to register an action as an
>> event handler for multiple events with XML Events / XForms?
> 
> You can do that with the handler attribute:
> 
>  <ev:listener event="xforms-valid" handler="#h" />
>  <ev:listener event="xforms-enabled" handler="#h" />
> 
>  <xf:action id="h">
>    ...
>  </xf:action>

Good point. I hadn't realized this was possible.

>> Wouldn't it be reasonable to be able to write something like:
>>
>> <xforms:action ev:event="xforms-valid xforms-enabled">
>>    ...
>> </xforms:action>
> 
> I don't see what harm it would do. :)

What is the best way of officially suggesting this enhancement?

-Erik

-- 
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/
Received on Saturday, 5 August 2006 22:43:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:06 GMT