On Mon, 27 Jun 2016 10:37:07 -0300, Lherm Nicolas <nlh...@sqli.com> wrote:
I pass the value in the context via t:context="corgamo". So the
actionEvent seems to works but the zone isn't render yet.
I still have the same error of environment
That's because you haven't pushed the corgamo value into the environment.
Try adding the following line as the first one in your event handler:
environment.push(EnumCorgamo.class, corgamo); If it doesn't work, 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