Re: Environmental not avaible during action

2016-07-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 Jul 2016 15:43:49 -0300, Lherm Nicolas wrote: Yes i already use this one too. But I didn't saw any change Could you post the whole code related to this? Otherwise, I'm not sure how to help you further. Le 6 juil. 2016 à 20:03, Thiago H de Paula Figueiredo a écrit : On We

Re: Environmental not avaible during action

2016-07-06 Thread Lherm Nicolas
Yes i already use this one too. But I didn't saw any change > Le 6 juil. 2016 à 20:03, Thiago H de Paula Figueiredo a > écrit : > >> On Wed, 06 Jul 2016 10:51:24 -0300, Lherm Nicolas wrote: >> >> I also put a test in the event request to verify if the environment was null >> but it was usele

Re: Environmental not avaible during action

2016-07-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 Jul 2016 10:51:24 -0300, Lherm Nicolas 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, cor

RE: Environmental not avaible during action

2016-07-06 Thread Lherm Nicolas
: 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 a > écrit : > >> On Wed, 06 Jul 2016 06:31:19 -0300, Lherm

Re: Environmental not avaible during action

2016-07-06 Thread Lherm Nicolas
Yes it is only in the event request. > Le 6 juil. 2016 à 15:32, Thiago H de Paula Figueiredo a > écrit : > >> On Wed, 06 Jul 2016 06:31:19 -0300, Lherm Nicolas wrote: >> >> I already pushed the corgamo value into the environment as I mentioned before > > Did you that in the *event* request?

Re: Environmental not avaible during action

2016-07-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 Jul 2016 06:31:19 -0300, Lherm Nicolas 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.

RE: Environmental not avaible during action

2016-07-06 Thread Lherm Nicolas
() method. Maybe that the environment is cloak when it render the new zone. De : Thiago H de Paula Figueiredo Envoyé : lundi 27 juin 2016 21:10 À : Tapestry users Objet : Re: Environmental not avaible during action On Mon, 27 Jun 2016 10:37:07 -0300, Lherm Nicolas

Re: Environmental not avaible during action

2016-06-27 Thread Thiago H de Paula Figueiredo
On Mon, 27 Jun 2016 10:37:07 -0300, Lherm Nicolas 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 environm

RE: Environmental not avaible during action

2016-06-27 Thread Lherm Nicolas
Tapestry users Objet : Re: Environmental not avaible during action On Wed, 22 Jun 2016 11:58:23 -0300, Lherm Nicolas wrote: In my app.tml I put an that refers to my app.java to : void onSetupRender() { environment.push(EnumCorgamo.class, corgamo); } but it still doesn't works

Re: Environmental not avaible during action

2016-06-22 Thread Thiago H de Paula Figueiredo
your event request, only being properly setup during rendering. You should instead pass this value as the context (or part of it) of your ActionLinks De : Lherm Nicolas Envoyé : mercredi 22 juin 2016 16:04:09 À : Tapestry users Objet : RE: Environmental not avaible during action Hi, EnumCorg

RE: Environmental not avaible during action

2016-06-22 Thread Lherm Nicolas
2016 19:45:28 À : Tapestry users Objet : Re: Environmental not avaible during action Hi! On Mon, 20 Jun 2016 04:40:22 -0300, Lherm Nicolas wrote: > In my application, I have a zone with many components inside. > > The first time page render is ok. But when I click an Action link which

RE: Environmental not avaible during action

2016-06-22 Thread Lherm Nicolas
: Environmental not avaible during action Hi! On Mon, 20 Jun 2016 04:40:22 -0300, Lherm Nicolas wrote: > In my application, I have a zone with many components inside. > > The first time page render is ok. But when I click an Action link which > will refresh the zone,I can't

Re: Environmental not avaible during action

2016-06-20 Thread Thiago H de Paula Figueiredo
Hi! On Mon, 20 Jun 2016 04:40:22 -0300, Lherm Nicolas wrote: In my application, I have a zone with many components inside. The first time page render is ok. But when I click an Action link which will refresh the zone,I can't get Environmental Object. What code puts an EnumCorgamo into the