On Wed, 06 Jul 2016 10:51:24 -0300, Lherm Nicolas <nlh...@sqli.com> wrote:

I also put a test in the event request to verify if the environment was null but it was useless:


if (environment.peek(EnumCorgamo.class) == null) {
            environment.decloak();
            environment.push(EnumCorgamo.class, corgamo);
        }

Have you tried this suggestion I've done before?

Instead of having an "@Environmental private EnumCorgamo corgamo;" @Inject the Environment service and use environment.peek(EnumCorgamo.class) instead.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to