Re: Re: Re: Re: spring problem! Panel Component could not get spring context beans,

2008-03-07 Thread lars vonk
I have no experience with two WicketApplications. I am not sure if this is a good idea. But besides that: I think you need to tell the bApplication it should use the org.apache.wicket.spring.SpringWebApplicationFactory, the same way you did with the WicketApplication servlet. Since the bApplication

Re: Re: Re: Re: Re: spring problem! Panel Component could not get spring context beans,

2008-03-07 Thread Mead
Hello All, If I config the two WebApplication like downstair, It only direct to one Application, and another WebApplication couldn't be accessed. WicketApplication org.apache.wicket.protocol.http.WicketServlet

Re: Re: Re: Re: spring problem! Panel Component could not get spring context beans,

2008-03-07 Thread Mead
Hello lars vonk, I find I have two WebApplication: aWebApplication, bWebApplication and aWebApplication inject the spring context(in the web.xml), and b havenot inject. but bWebApplication extends aWebApplication{} in bWebApplication I call the method following: aWebApplication app = (bWebApp