onkelijk bericht-
> Van: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Verzonden: woensdag 20 februari 2008 23:02
> Aan: users@wicket.apache.org
> Onderwerp: Re: Spring injecting beans into non-component classes
>
> why dont you use maven to manage your dependencies? from cursory
?
>
>
> > -Original Message-
> > From: Bart Molenkamp [mailto:[EMAIL PROTECTED]
>
>
> > Sent: Tuesday, February 19, 2008 10:52 PM
> > To: users@wicket.apache.org
> > Subject: RE: Spring injecting beans into non-component classes
> >
>
?
> -Original Message-
> From: Bart Molenkamp [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 19, 2008 10:52 PM
> To: users@wicket.apache.org
> Subject: RE: Spring injecting beans into non-component classes
>
>
> public abstract class AbstractInjectableModel implements IModel
InjectorHolder.getInjector().inject(this);
Nothing more.
Bart.
> -Oorspronkelijk bericht-
> Van: Warren [mailto:[EMAIL PROTECTED]
> Verzonden: dinsdag 19 februari 2008 18:16
> Aan: users@wicket.apache.org
> Onderwerp: RE: Spring injecting beans into non-component classes
>
t; To: users@wicket.apache.org
> Subject: RE: Spring injecting beans into non-component classes
>
>
> I created an AbstractInjectableModel for this. It does dependency
> injection for models, the same way as in components.
>
> Would this be something for in the wick
ndency
> > > > > injection for models, the same way as in components.
> > > > >
> > > > > Would this be something for in the wicket-spring-annot project?
> > > > >
> > > > > Bart.
> > > > >
> > > > > >
ction for models, the same way as in components.
> > > >
> > > > Would this be something for in the wicket-spring-annot project?
> > > >
> > > > Bart.
> > > >
> > > > > -Oorspronkelijk bericht-
> > > > > V
thing for in the wicket-spring-annot project?
> > >
> > > Bart.
> > >
> > > > -Oorspronkelijk bericht-
> > > > Van: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> > > > Verzonden: dinsdag 19 februari 2008 4:41
> > > >
-Oorspronkelijk bericht-
> > > Van: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> > > Verzonden: dinsdag 19 februari 2008 4:41
> > > Aan: users@wicket.apache.org
> > > Onderwerp: Re: Spring injecting beans into non-component classes
> >
> > >
>
s.
>
> Would this be something for in the wicket-spring-annot project?
>
> Bart.
>
> > -Oorspronkelijk bericht-
> > Van: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> > Verzonden: dinsdag 19 februari 2008 4:41
> > Aan: users@wicket.apache.org
> >
insdag 19 februari 2008 4:41
> Aan: users@wicket.apache.org
> Onderwerp: Re: Spring injecting beans into non-component classes
>
> add this to the constructor of the class you want injected:
> InjectorHolder.getInjector().inject(this);
>
> -igor
>
>
> On Feb 18, 2008 7:
add this to the constructor of the class you want injected:
InjectorHolder.getInjector().inject(this);
-igor
On Feb 18, 2008 7:37 PM, Warren <[EMAIL PROTECTED]> wrote:
> I am using Spring to manage my Services and DAOs. Is there a special Wicket
> way of injecting my beans into non component cla
I am using Spring to manage my Services and DAOs. Is there a special Wicket
way of injecting my beans into non component classes? I've seen the example
in Kent Ka Iok Tong's book of extending SpringWebApplication:
public class MyApp extends SpringWebApplication {
...
@Override
protected void init(
13 matches
Mail list logo