Hi,

ComponentResources.triggerEvent(...)  is the way to go, isn't it?

Parent.java:
@OnEvent(component = "child", value = "childEventCall")
    void childEventCall(final String someString, final int someInt) {
        //dosomething
    }

Child.java:
    void onSomeEvent() {
        _resources.triggerEvent("childEventCall", new Object[]{
_someString, _someInt}, null);
    }


Kind regards
David


Am 02.07.2013 09:34, schrieb Lance Java:
> No typos, if I move the event handler from parent to child it fires as
> expected.
>
> I've also tried ComponentResources.triggerEvent(...) and
> ComponentResources.getContainerResources().triggerEvent(...) in the child
> but nothing seems to bubble up.
>
> FYI This is tapestry 5.3.7
>


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

Reply via email to