Login  Register

Re: Event Handling within nested XBL components

Posted by Alessandro Vernet on Jul 21, 2009; 11:15pm
URL: https://discuss.orbeon.com/Event-Handling-within-nested-XBL-components-tp45002p45005.html

Philip,

Philip.Cantin wrote
While this bug is being investigated, I was wondering if it was possible to somehow "capture" the context being passed to the main form's <xxforms:dialog> control from the nested XBL component, and use it in an <xforms:setvalue> statement within the main form. I was able to do this once using the 'xxforms-dialog-open' event inside <xforms:setvalue>, but I can't seem to reference that context a second time outside of the 'xxforms-dialog-open' event.
You're talking about "capturing the context being passed to the main form's <xxforms:dialog> control from the nested XBL component". Is the dialog opened from within the XBL? I am afraid I don't quite get it. Would you have a very minimal example showing what you are trying to do and where the problem lies?

Alex