Listening XML events

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Listening XML events

Markku Laine
Hi,


Does Orbeon Forms support listening XML events?

Tried to test the support using this web page (http://www.pastie.org/470095 
) but it does not work with Orbeon Forms (works with Mozilla XForms).

Am I doing something wrong here or is there possibly another way for  
listening XML events with Orbeon Forms?

Use case: Two different XForms Action elements would like to listen to  
XML events coming from one UI Control.

Regards


-Markku


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Listening XML events

Erik Bruchez
Administrator
We support I think pretty much everything of XML events, but not the  
<ev:listener> element! Wouldn't be too hard to support though. Event  
listeners are gathered in XFormsStaticState.java.

-Erik

On May 6, 2009, at 9:12 AM, Markku Laine wrote:

> Hi,
>
>
> Does Orbeon Forms support listening XML events?
>
> Tried to test the support using this web page (http://www.pastie.org/470095 
> ) but it does not work with Orbeon Forms (works with Mozilla XForms).
>
> Am I doing something wrong here or is there possibly another way for  
> listening XML events with Orbeon Forms?
>
> Use case: Two different XForms Action elements would like to listen  
> to XML events coming from one UI Control.
>
> Regards
>
>
> -Markku
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Listening XML events

Alessandro Vernet
Administrator
In reply to this post by Markku Laine
Markku,

Markku Laine wrote
Use case: Two different XForms Action elements would like to listen to  
XML events coming from one UI Control.
You can handle this use case right now with ev:observer. E.g.:

<xforms:action ev:event="DOMActivate" ev:observer="some-control-id">
   
</xforms:action>

<xforms:action ev:event="DOMActivate" ev:observer="some-control-id">
   
</xforms:action>

Alex