Hi,

I want to bubble up an event from a component, which is deeply nested in other components, to an outer component, but it only bubbles up to the page and not further to the component defined as t:type="***" in the page.

Some simplified example code to clarify:


Page:

<html t:type="layout" ...>
    ...
    <t:deeplynestedcomponent />
    ...
</html>


DeeplyNestedComponent:

componentResources.triggerEvent("someEvent", null, null);


Following works up to the Page class, but not if I add it in the Layout component:

@OnEvent(value = "someEvent")
void doSomething() {}


Is there anyway to catch this event in the Layout component?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to