Thanks! I'll try that! --Michael
-----Original Message----- From: Norman Franke [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 1:40 PM To: Tapestry users Subject: Re: getting remote IP address Here is what I do: @InjectObject("service:tapestry.globals.HttpServletRequest") public abstract HttpServletRequest getRequest(); Then: getRequest().getRemoteAddr() That works for me. -Norman Franke ASD, Inc. On Nov 8, 2007, at 4:16 PM, Nguyen, Michael wrote: > Yea.. Turns out the example I found in Jira was for an older version > of T5 possibly T4. so I'm still stuck. :) > > Thanks! > > -----Original Message----- > From: Thiago H de Paula Figueiredo [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2007 11:52 AM > To: Tapestry users > Subject: Re: getting remote IP address > > On Thu, 08 Nov 2007 17:36:07 -0200, Nguyen, Michael > <[EMAIL PROTECTED]> wrote: > >> Eclipse complains >> about an undefined attribute value for the @Inject annotation. > > Check if you have imported the right @Inject annotation > (org.apache.tapestry.ioc.annotations.Inject), as it doesn't hava > attributes (at least in Tapestry 5.0.6). > > -- > Thiago H. de Paula Figueiredo > Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da > Informação Ltda. > http://www.eteg.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]