@jcgarciam, 
Thanks for your post. Sorry it took me so long to reply.
Yes, I am using component instantiation listener on my wicket app. 

I think I might have not explained things properly in my last post. For the
sake of clarity, I'm posting my web.xml and applicationContext set up:

On my WicketApplication class I have the following, also based on the wicket
in action book:
public class WicketApplication extends WebApplication {

       @Autowired
        private ObjectService objects_service;

        @Override
        protected void init() {
                addComponentInstantiationListener(new 
SpringComponentInjector(this));
        }

My spring/hibernate set-up is also similar to the wicket in Action book :

My web.xml file has the following hibernate session filter (wicket in action
book, section 12.3.2):
<filter>
                <filter-name>opensessioninview</filter-name>
                <filter-class>
                
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
        </filter>
        <filter-mapping>
                <filter-name>opensessioninview</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>


        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>/WEB-INF/applicationContext.xml</param-value>
        </context-param>
        <listener>
        
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
        </listener>


On the applicationContext.xml file I have the following:
<tx:annotation-driven />
<bean id="wicketApplication" class="com.myApp.WicketApplication">
</bean>
 ...

I think the whole set up is pretty much standard but if you think I am
missing something, then I'd be most grateful if you point it out.
Cheers,
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Continue-navigating-while-on-submit-button-process-stuff-on-the-background-tp3473026p3505262.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to