RE: Struts 2 portlet - spring example- Liferay 6.1 GA 2

2012-10-25 Thread Juan Jose Fuentes Esteban
It's not that It is a real solution but a workaround... but this is what I have done I've extended StrutsSpringObjectFactory to allow this class to directly create the WebApplicationContext. Of course this class has checks that evaluate if there is a WebApplicationContext already created. Also, I

RE: Struts 2 portlet - spring example- Liferay 6.1 GA 2

2012-10-25 Thread Juan Jose Fuentes Esteban
I could not agree more. If it's Liferay, then, develop THE LIFERAY WAY. If not, be prepared for a lot of incompatibilities, framework problems, integration errors... -Mensaje original- De: Frans Thamura [mailto:fr...@meruvian.org] Enviado el: jueves, 25 de octubre de 2012 16:40 Para: Strut

RE: Struts 2 portlet - spring example- Liferay 6.1 GA 2

2012-10-25 Thread Martin Gainty
Lukasz and team Just a thought but in web.xml can you reorder the Struts Listener(s) to be configured before Liferay (filters and listeners and servlets and taglibs)? does this help? Martin __ Note de déni et de confidentialité Ce message est confid

Re: Struts 2 portlet - spring example- Liferay 6.1 GA 2

2012-10-25 Thread Frans Thamura
Years we invest in struts2 and liferay I find several perm gen error if ww create a war for liferay Wish s2 can solve it. To painfull develop s2 in liferay sdk That is my opinion Frans Thamura Meruvian On Oct 25, 2012 9:20 PM, "Lukasz Lenart" wrote: > 2012/10/25 Juan Jose Fuentes Esteban : >

Re: Struts 2 portlet - spring example- Liferay 6.1 GA 2

2012-10-25 Thread Lukasz Lenart
2012/10/25 Juan Jose Fuentes Esteban : > Yes Lukasz, but it seems there is a problem in this specific version of > Liferay, as explained here: > > http://www.liferay.com/es/community/forums/-/message_boards/message/15705348 > > In this release of Liferay, Portlets are initialized BEFORE servlet li

RE: Struts 2 portlet - spring example- Liferay 6.1 GA 2

2012-10-25 Thread Juan Jose Fuentes Esteban
Yes Lukasz, but it seems there is a problem in this specific version of Liferay, as explained here: http://www.liferay.com/es/community/forums/-/message_boards/message/15705348 In this release of Liferay, Portlets are initialized BEFORE servlet listeners are executed. So, if using Struts Jsr286