On Wed, 06 Jul 2016 15:43:49 -0300, Lherm Nicolas <nlherm@sqli.com> 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
>> <thiagohp@gmail.com> a écrit :
>>
>>> On Wed, 06 Jul 2016 10:51:24 -0300, Lherm Nicolas <nlherm@sqli.com>
>>> 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, corgamo);
>>> }
>>
>> Have you tried this suggestion I've done before?
>>
>> 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-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
--
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
|