gwt platform - gwtp dispatchAsync not injected in onBind() method -
i tried inject dispatchasync in presenter class's onbind() method.
@inject dispatchasync dispatchasync;
but, null
while try invoke execute inside dispatchasync.onbind()
method.
i need details server while loading.
what can or can use statement in onbind() method or other place in presenter.
thanks in advance, bennet.
you should inject this
private final dispatchasync dispatchasync; @inject presenter(...., dispatchasync dispatchasync) { super(...); this.dispatchasync = dispatchasync; }
this way dispatchasync injected in presenter.
Comments
Post a Comment