Nrupay N Shah 9 Years Ago Really very nice and helpful article it is.I have followed all the steps but my processEvent method is not being called and am not able to send the event data to front side of second portlet.can you please help me on this? How to debug events in liferay portlets?Thanks & Regards,Nrupay Shah Please sign in to reply. Reply as... Cancel Subhasis Roy Nrupay N Shah 9 Years Ago - Edited Hi,Have you implemented EventPortlet Interface in your controller class and your method should have "@EventMapping" annotation.Can you please cross check this once Please sign in to reply. Reply as... Cancel asif aftab Subhasis Roy 8 Years Ago Thanks, it is really helpful. Please sign in to reply. Reply as... Cancel
Subhasis Roy Nrupay N Shah 9 Years Ago - Edited Hi,Have you implemented EventPortlet Interface in your controller class and your method should have "@EventMapping" annotation.Can you please cross check this once Please sign in to reply. Reply as... Cancel asif aftab Subhasis Roy 8 Years Ago Thanks, it is really helpful. Please sign in to reply. Reply as... Cancel
asif aftab Subhasis Roy 8 Years Ago Thanks, it is really helpful. Please sign in to reply. Reply as... Cancel
Issam B 8 Years Ago Hi,Thanks for sharing.I followed your example and I needed to add a @ModelAttribute method in order to initialize a model and put it into session. This step causes the exception below: org.springframework.web.bind.annotation.support.HandlerMethodInvocationException: Failed to invoke handler method [public void com.test.SenderController.myAction(org.springframework.web.bind.support.SessionStatus,javax.portlet.ActionResponse)]; nested exception is java.lang.IllegalStateException: Current request is not of type [javax.portlet.RenderRequest]: com.liferay.portlet.ActionRequestImpl@127e27ffAn idea about that ?Many thanks.regards, Please sign in to reply. Reply as... Cancel
saravanan muniraj 7 Years Ago Good Explanation, note that @EventMapping(value ="{http://liferay.com/events}empDetailBean") Please sign in to reply. Reply as... Cancel