1 Reply Latest reply on Jun 19, 2016 9:31 PM by markluo2008

    [Errai 4] How to instantiate a templated composite.

    markluo2008

      Hi,

       

      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?

       

      Best regards,

      Feng Luo