This is my situation: I have a page containing component ComponentA,
this component contains another component (B), I want to
dinamically/ajax update ComponentB (and just component B) from the
main page. Is this possible at all?

My idea was to delegate dynamic updating through first component, the
way I sketch below but it seems not to be possible, does anybody has
any idea if this is possible at all?

class Page {

    @Component
    public abstract ComponentA getComponentA();

    @EventListener
    public myEventListener(IRequestCycle cycle) {

        getComponentA().updateComponentB(cycle);

    }

}


class CompomentB {

    public updateComponentB(IrequestCycle cycle) {
       cycle.getResponseBuilder().updateComponent("idOfComponentB");
    }

}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to