Is there a way to force reloading of the all bindings? Something like new AnnotateDataBinder().loadAll(self); in the previous version? When I receive Event via EventQueue I don't know how to refresh bindings.
public class Composer extends BindComposer<Window> {
private Window self;
@Override
public void doAfterCompose(Window comp) throws Exception {
super.doAfterCompose(comp);
self = comp;
}
}
If self is not created, I cannot target the Composer with Events.postEvent() from other Composers! Is there a way to send Events between Composers with new Annotation Binding?
Is there a way to force reloading of the all bindings? Something like new AnnotateDataBinder().loadAll(self); in the previous version? When I receive Event via EventQueue I don't know how to refresh bindings.
Why doAfterCompose is not executed if I use
<window apply="org.zkoss.bind.BindComposer" viewModel="@id('c') @init('zk.Composer')" ></window>and
public class Composer extends BindComposer<Window> { private Window self; @Override public void doAfterCompose(Window comp) throws Exception { super.doAfterCompose(comp); self = comp; } }If self is not created, I cannot target the Composer with Events.postEvent() from other Composers!
Is there a way to send Events between Composers with new Annotation Binding?