In my app.tml I put an <t:trigger event="setupRender" /> that refers to my 
app.java to :


void onSetupRender() {
        environment.push(EnumCorgamo.class, corgamo);
   }

but it still doesn't works [☹]


________________________________
De : Lherm Nicolas
Envoyé : mercredi 22 juin 2016 16:04:09
À : Tapestry users
Objet : RE: 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>
Envoyé : lundi 20 juin 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 <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 which
> will refresh the zone,I can't get Environmental Object.

What code puts an EnumCorgamo into the Environment in first place? It's
not being called when your event is triggered.

> I use tapestry 5.3.8 now. But it works when I use tapestry 2.6.

Are you sure about using 2.6? :p

--
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