I have the same problem described on:
https://issues.apache.org/jira/browse/WICKET-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
SpringWebApplicationFactory cannot load WA from parent bean factory 
I have tried the suggest workaround without result.

I'm use jdk 1.6.x, wicket 1.3.4 and spring 2.5.5.

I have tried:
1)
....
<servlet>
        <servlet-name>WicketApplication</servlet-name>
       
<servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>
        <init-param>
            <param-name>applicationFactoryClassName</param-name>
           
<param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value>
            <param-name>applicationBean</param-name>
            <param-value>wicketapp.WicketApplication</param-value>            
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>WicketApplication</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
....
2)
...
 <filter>
        <filter-name>WicketApplication</filter-name>
       
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
        <init-param>
            <param-name>applicationFactoryClassName</param-name>
           
<param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value>
            <param-name>applicationBean</param-name>
            <param-value>wicketapp.WicketApplication</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>WicketApplication</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
...

But i have always the problem.

While if i don't use spring:
3)
...
 <filter>
        <filter-name>WicketApplication</filter-name>
       
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
        <init-param>
            <param-name>applicationClassName</param-name>
            <param-value>wicketapp.WicketApplication</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>WicketApplication</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
...
It's ok. 

Please some help? :-((

-- 
View this message in context: 
http://www.nabble.com/SpringWebApplicationFactory-cannot-load-WA-from-parent-bean-factory-tp18751687p18751687.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]

Reply via email to