Interesting...Thanks Thiago

For those interested in why:

https://tapestry.apache.org/request-processing.html the last 3 sections of that 
page.

The request service is a shadow of the RequestsGlobal services' request 
property.  Methods invoked on this service are delegated to the request object 
stored inside the RequestsGlobals.

More about shadow builder services,
https://tapestry.apache.org/shadowbuilder-service.html





On 13/08/2012, at 10:15 PM, Thiago H de Paula Figueiredo wrote:

> On Sun, 12 Aug 2012 09:51:16 -0300, Angelo C. <angelochen...@gmail.com> wrote:
> 
>> Hi,
> 
> Hi!
> 
>>  public void action() {
>>               String name = requestGlobals.getRequest().getParameter("name");
>>  }
> 
> Guys, please don't @Inject RequestGlobals anymore. There's no reason for 
> doing that (at least not in pages and components). @Inject Request directly.
> 
> -- 
> Thiago H. de Paula Figueiredo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to