Correct me if I'm wrong but I don't think you can inject that in an
Engine class, only pages or components.
On 11/1/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> I think
> <inject object="infrastructure:WebRequest"/>
> Cheers,
> Ron
>
> PS look at the infrastructure configuration point at the hivedoc.
>
>
> ציטוט Chris Chiappone:
> > Ok I've just figured out how to contribute myService to hivemind and
> > inject it into my component, so the only other deprecated method I
> > have left is getRequestContext(), I don't belive I can inject a
> > WebRequest here since it extends the BaseEngine, so the question is
> > how to get the webRequest?
> >
> >
> > On 11/1/05, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> >
> >>I've successfully upgraded my tap3 app consisting of ~40 pages, and
> >>removed all but two deprecated class/methods from it.
> >>
> >>The two that I am not sure of how to replace are
> >>cycle.getEngine().getService("MyService"); which I noticed the the
> >>workbench application also continues to use. And I subclass
> >>BaseEngine cleanupAfterRequest to invalidate the session. In that
> >>methed I use cycle.getRequestContext() which has been deprecated, and
> >>I'm not sure of the replacement.
> >>
> >>Other than that I recommed upgrading for those who are looking into
> >>it, it actually isn't as bad as I expected.
> >>
> >>--
> >>~chris
> >>
> >
> >
> >
> > --
> > ~chris
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
--
~chris