Re: Environment Environmental Service T5.2.6

2012-03-06 Thread resign
>I have absolutely no idea about what you're trying to do. :-) sorry, i will try to describe my problem. I have a page with two actionLinks. This page contains a component with select list. This select list must contains a different entries depends on clicked actionLinks of parent page. resign

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread Thiago H. de Paula Figueiredo
I have absolutely no idea about what you're trying to do. On Tue, 06 Mar 2012 11:00:02 -0300, resign wrote: You're doing it wrong. Environment works during rendering and you're using it on an event handler method. ok, undestand :-) But how can i resolve my problem? TML_1 - Page .. [ACTION

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread resign
>You're doing it wrong. Environment works during rendering and you're using it on an event handler method. ok, undestand :-) But how can i resolve my problem? TML_1 - Page .. [ACTION LINK TO SET PARAMETER to A] ... [ACTION LINK TO SET PARAMETER to B] ... ... MyComponent.tml ... ${myParamete

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Mar 2012 10:46:07 -0300, resign wrote: Hi, Hi! i try to proceed one value to a component. For this i try to use the Environment class. Why don't you use a parameter instead? But it doesn't work :-( You're doing it wrong. Environment works during rendering and you're using

Environment Environmental Service T5.2.6

2012-03-06 Thread resign
Hi, i try to proceed one value to a component. For this i try to use the Environment class. But it doesn't work :-( I also couldn't find any examples about this. My code: TML: ... GO ... Java Page ... @Inject private Environment environment; private ParamObject parameter; ... void onMyEven