Re: Event Handling within nested XBL components
Posted by
Alessandro Vernet on
Jul 12, 2009; 7:02am
URL: https://discuss.orbeon.com/Event-Handling-within-nested-XBL-components-tp45002p45003.html
Philip,
Philip.Cantin wrote
I already understand how to pass information from inner XBL nodes to outer XBL nodes, but how does one pass information the other way?
I've tried using the <xbl:handlers> tag to pass information from the main XHTML form downward to the innermost XBL component, but this doesn't seem to work. What's the proper way of doing this, if any?
I think you *do* understand well how it is supposed to work, but it looks to me like there is a glitch. I think you had a typo in your code where idinfo.xbl was dispatching pass-value3 to citation-component, but citation.xbl had a listener for pass-value2. So I changed that pass-value3 by pass-value2, but it doesn't solve the problem: for some reason, pass-value2 doesn't seem to get to the citation.
For now I added a bug for this, but we'll investigate this one further.
http://forge.ow2.org/tracker/index.php?func=detail&aid=314033&group_id=168&atid=350207Alex