how about this: @Inject @Service("RequestGlobals") private RequestGlobals requestGlobals; Request request = requestGlobals.getRequest(); A.C.
Heck, Bob wrote: > > I am having a hard time getting to the regular Tomcat session info. > > I have tried putting > > @Inject("alias:Request") > > in my Tapestry 5 class file, but it keeps complaining that "The > attribute value is undefined for the annotation type Inject" > > I have searched and searched but can't seem to find an answer. > > Used imports from a page example ostensibly working, but still same > error. > > I admit I am a Tapestry 5 newbie -- would appreciate some help. > > Please advise. > > Thanks, > Bob Heck > [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/%40Inject%28%22alias%3ARequest%22%29-tf4565365.html#a13031422 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]