Foren

Spring bean configured as a portlet in war with other liferay portlets

Dan Rush, geändert vor 12 Jahren.

Spring bean configured as a portlet in war with other liferay portlets

New Member Beiträge: 5 Beitrittsdatum: 23.08.11 Neueste Beiträge
I have a war with many liferay portlets and associated service beans running using web-inf/applicationContext.xml and portlet.xml. I've added a spring bean portlet configured with org.springframework.web.portlet.DispatcherPortlet and its separate <spring bean>-portlet.xml. In my spring bean portlet, I can't auto-wire any of the service beans from the applicationContext.xml. I guess this is because I have configured separate contexts. How do I combine the 2 contexts so that DispatcherPortlet is only used for my newly added spring bean acting as a portlet?