Fórum

Issue with Alert Portlets in Life Ray 6.0.5

ramakrishna rao srigiri, modificado 13 Anos atrás.

Issue with Alert Portlets in Life Ray 6.0.5

New Member Mensagem: 1 Data de Entrada: 25/04/11 Postagens Recentes
Hi,

I am using Liferay bundled with Tomcat 6.0.5. I have logged in as admin and added the alert portlet (using Add --> More option) to be as part of default liferay community and my portlet as well residing on the same liferay community.

I tried to create an alert from one of my controller using below code snippet as described, but when i executed, the alert portlet (with the new alert or any old existing alerts) does not show up anytime on the Life Ray Community. Only my Portlet pops up on the liferay Community Page. I have given the proper permissions as well. Can anyone please help me out in resolving this issue?

AnnouncementsEntryLocalServiceUtil.addEntry(2, PortalUtil.getClassNameId(User.class), 2, "Test Alert....", "Test Alert...", "http://localhost:8080/", "general", 4, 22, 2011, 3, 35, 4, 22, 2012, 3, 35, 2, true);

Also could you please guide me in the sequence of steps to create a Sample Alert Portlet using AnnouncementsEntryLocalServiceUtil.addEntry?