Re: Injecting RequestGlobals

2007-05-17 Thread Chris Chiappone
Ok I'm pulling my hair out here. This used to work fine in java 5 and annotations but since having to go back to page specs I can't seem to pass parameters to components. This worked fine before java: @Parameter public abstract String getInclude(); html: Now I have changed the code to thi

Re: Injecting RequestGlobals

2007-05-16 Thread Jesse Kuhnert
That's probably because HttpServletRequest is a type of javax.servlet.http.HttpServletRequest and not RequestGlobals. I would change your inject tag to look more like: public abstract HttpServletRequest getRequest(); Starting with tapestry >= 4.1 you can also just skip the tag altogether as

RE: Injecting RequestGlobals

2007-05-16 Thread Ben Dotte
, May 16, 2007 3:15 PM To: Tapestry List Subject: Re: Injecting RequestGlobals Oh and I've also tried making the getters and setters abstract and that didn't work either. On 5/16/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: > I have been forced to downgrade my application tha

Re: Injecting RequestGlobals

2007-05-16 Thread Chris Chiappone
Oh and I've also tried making the getters and setters abstract and that didn't work either. On 5/16/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I have been forced to downgrade my application that I've started to java 1.4 for the time being and am trying to inject a hivemind service but don't