# Revision history [back]

+1 on Justin answer, you can't @Wire a component above the component on which your composer is applied

<div id="comp1">
<div apply="MyComposer">
<div id="comp2">
...


You can wire component comp2, but not component comp1 from MyComposer

Depending on your include mode, setti

+1 on Justin answer, you can't @Wire a component above the component on which your composer is applied

<div id="comp1">
<div apply="MyComposer">
<div id="comp2">
...


You can wire component comp2, but not component comp1 from MyComposer

Depending on your include mode, settisetting a composer on a higher element can work. If that's not an option, you could also fire events from the inner composer to an outer composer (see the ZK Event queues documentation on how to fire events and listen to events from each composer.) https://www.zkoss.org/wiki/ZKDeveloper'sReference/EventHandling/EventQueues

The basic idea is: in outer composer (root level composer), during afterCompose, create an event listener on a desktop scope event queue of your choice. In the inner composer, when relevant, fire an event with the relevant data in the same event queue.

Support Options
• Email Support
• Training
• Consulting
• Outsourcing