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

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

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

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 <thiag...@gmail.com> a > écrit : > >> On Wed, 06 Jul 2016

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 >

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

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 <thiag...@gmail.com> Envoyé : lundi 27 juin 2016 21:10 À : Tapestry users Objet : Re: Environmental not avaible during action On Mon, 27 Jun 2016 10:37:07

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

RE: Environmental not avaible during action

2016-06-27 Thread Lherm Nicolas
2016 17:18:16 À : Tapestry users Objet : Re: Environmental not avaible during action On Wed, 22 Jun 2016 11:58:23 -0300, Lherm Nicolas <nlh...@sqli.com> wrote: In my app.tml I put an that refers to my app.java to : void onSetupRender() { environment.push(Enum

Re: Environmental not avaible during action

2016-06-22 Thread Thiago H de Paula Figueiredo
s null during 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 act

RE: Environmental not avaible during action

2016-06-22 Thread Lherm Nicolas
: Environmental not avaible during action Hi, EnumCorgamo is the context of the execution, an enumeration with some Strings, and methods thats returns codes (strings) Yes, it was Tapestry 5.2.6 [] De : Thiago H de Paula Figueiredo <thiag...@gmail.com>

RE: Environmental not avaible during action

2016-06-22 Thread Lherm Nicolas
:45:28 ? : Tapestry users Objet : Re: Environmental not avaible during action Hi! On Mon, 20 Jun 2016 04:40:22 -0300, Lherm Nicolas <nlh...@sqli.com> 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

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

Environmental not avaible during action

2016-06-20 Thread Lherm Nicolas
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. And I get an Error like this: classpath:.../BlocPriseEnCharge.tml, line 23