tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lherm Nicolas <nlh...@sqli.com>
Subject RE: Environmental not avaible during action
Date Wed, 06 Jul 2016 13:51:24 GMT
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 <thiagohp@gmail.com> a écrit
:
>
>> On Wed, 06 Jul 2016 06:31:19 -0300, Lherm Nicolas <nlherm@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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message