Re: Contribution to ApplicationStateManager not called on ApplicationModule

Christian Riedel <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
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.