as igor said, remove the setter and the init method from your webpage and
double-check your spring-configuration ... and try coding against interfaces
if it doesn't work show us the part where you configure the beans (the
application and the PersoneList) and the configuration of the wicket filter
in your web.xml
regards,
Michael
alex2008 wrote:
>
> public class WicketApplication extends WebApplication
> {
>
> public void init() {
> addComponentInstantiationListener(new
> SpringComponentInjector(this));
> }
>
> ..................
>
> public class Home extends WebPage {
>
> @SpringBean
> private PersoneList personeList;
> public void setPersoneList(PersoneList personeList) {
> this.personeList = personeList;
> }
>
> public void init() {
> InjectorHolder.getInjector().inject(this);
> }
> ...........
> The problem remain.:-((
>
> The problem is that the documentation and examples are not always
> clarification, paradoxically, it is easier to follow something more
> complex but very well documented and with many update examples, compared
> to something seemingly more simple but that is able to completely stop a
> project for entire days.
>
> I find only one example for spring-hibernate-wicket and it has wrote for
> wicket 1.2.x.
>
>
-----
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/Wicket-1.3.4-and-Spring-annotations-tp18962935p18968499.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]