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);
        }


________________________________
De : Lherm Nicolas
Envoyé : mercredi 6 juillet 2016 15:37:04
À : Tapestry users
Objet : Re: Environmental not avaible during action

Yes it is only in the event request.


> Le 6 juil. 2016 à 15:32, Thiago H de Paula Figueiredo <thiag...@gmail.com> a 
> écrit :
>
>> On Wed, 06 Jul 2016 06:31:19 -0300, Lherm Nicolas <nlh...@sqli.com> wrote:
>>
>> I already pushed the corgamo value into the environment as I mentioned before
>
> Did you that in the *event* request? Doing that in the page render request 
> doesn't make it available for other requests, such the event one.
>
> --
> 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