On 7/5/07, Daniel Stoch <[EMAIL PROTECTED]> wrote:
On 7/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 7/5/07, Daniel Stoch <[EMAIL PROTECTED]> wrote:
> >
> > If I want to use wicket-spring and wicket-swarm, there is a problem:
> > from which class should I extend my application class:
> > SpringWebApplication or SwarmWebApplication?
>
> you no longer need to extend SpringWebApplication if you want to use
> annotations, see the spring wiki page.
I know that, but it was only an example of such problems :).
And as far as I know, I can use annotations only inside components,
not in every single object. So sometimes call to
...getSpringContext().getBean("beanName") may be helpfull.
you can use: InjectorHolder.getInjector().inject(this); to inject any object
with @SpringBean annots.
or checkout http://code.google.com/p/salve/ - a small project i just
started, its in early stages but already works pretty well with spring
-igor
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user