-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 6.0.0
-
Component/s: Databind 2
-
None
-
None
In our last Spec. We don't call super's init method if the extended class doesn't has @Init or the @Init(superclass) is false (default false).
for the case SupervisingController extends AbstractPresenter but it doesn't has a method annotated with @Init(superclass=true), then we will not call the super's init method.
your could add a empty method with @Init(superclass=true) to fix this, but this is very inconvenient.
For this case, I think we could add a Sepc. to allow user to add @Init to the Type (if he doesn't use @Init in method, should check only one @Init in a class still) to provide the extra info to call to supers init()).
ex,
@Init(superclass=true)
public class SupervisingController
- duplicates
-
ZK-1035 @Init is not called on super class if base class does not have @Init
-
- Closed
-