I'm trying to upgrade a gwt project o Errai 4 and below is my steps:
First , I just removed the "implements EntryPoint" on Main.java and added @EntryPoint. and then added @PostConstruct on onModuleLoad() method. after recompiled, it works well.
Next, i want to click a menu to popup a dialog which contains a templated composite. i injected this templated Errai composite into this menu object. but it does not work. it seems that this templated composite just work in Main class with @EntryPoint.
In a short, I would like to know if it is possible to popup a dialog to show templated composite?
I read the Errai Document and finally found a templated class can be instantiated through SyncBeanManager.