Re: XML Events: event handlers for multiple events?

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 UTC