Re: Contribution to ApplicationStateManager not called on ApplicationModule

yazmin georgina quintal <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Thank you for your interest.
I found the contribution was called asyncronously when needed, no during app initialization... so I was wrong.


 Saludos.
 Atte. Yazmín Georgina Quintal Moo 
Local 63 y 64 de Plaza de la Tecnología. Villahermosa, Tab. 
Tel 993 1311688 
Cel. 9931 689207

      De: Christian Riedel <[email protected]>
 Para: Tapestry users <[email protected]>; yazmin georgina quintal <[email protected]> 
 Enviado: Domingo, 7 de mayo, 2017 9:14:29
 Asunto: Re: Contribution to ApplicationStateManager not called on ApplicationModule
   
Hi, 
may we have a look at your web.xml? Maybe your app isn’t called 'application‘. 


> Am 07.05.2017 um 06:46 schrieb yazmin georgina quintal <[email protected]>:
> 
> I have this code con ApplicationModule (T.5.4.3), but I do not see my contribution method being called:
>    @Contribute(value = ApplicationStateManager.class)
>    public static void provideStateCreators(MappedConfiguration<Class, ApplicationStateContribution> configuration) {
>    
>    System.out.println("provideStateCreators");
> 
>    configuration.add(Cotizacion.class,
>        new ApplicationStateContribution(CayenneConstants.ENTITY, new ApplicationStateCreator<Cotizacion>() {
>            @Override
>            public Cotizacion create() {
>            System.out.println("contributeApplicationStateManager.create call");
>            return new Cotizacion();
>            }
>        }
>        ));
>    }
> Thanks. 
> 
> Saludos.
> Atte. Yazmín Georgina Quintal Moo 
> Local 63 y 64 de Plaza de la Tecnología. Villahermosa, Tab. 
> Tel 993 1311688 
> Cel. 9931 689207
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.