Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:46,380 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet 18:59:46,381 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue 18:59:46,382 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading You need to add that notification handler because liferay 6.2 by default does not show anything when you don't have a proper handler for you message. Flag Please sign in to flag this as inappropriate. Setting deliverBy to 0 resolved this problem for me. navigate to this website
Flag Please sign in to flag this as inappropriate. Now we need to actually define our notification inside that example-user-notification-definitions.xml. So far so good. Current master of notifications portlet: https://github.com/liferay/liferay-plugins/blob/master/portlets/notifications-portlet/docroot/WEB-INF/src/com/liferay/notifications/notifications/portlet/NotificationsPortlet.java is finding the icon like this: Portlet portlet = PortletLocalServiceUtil.getPortletById(themeDisplay.getCompanyId(), userNotificationEvent.getType()); String portletName = portlet.getDisplayName(); String portletIcon = portlet.getContextPath() + portlet.getIcon(); From the screenshot it
I want to add notification when WikiPage is updated or Comment on WikiPage. IT DOES NOT SEND 🙁 Reply John says: April 8, 2015 at 13:26 @kyle and others with null icon problems, or with cleanUpSetAttributes problems If you go to notifications-portlet\notifications\ and edit Providing an in-existing ID leads to a hard-to-trace NullPointerException in the JSP.
Can I do It. Reply Reigo Reinmets says: September 2, 2014 at 09:50 @AUdalykh: The delivery types define in what ways can Liferay send this notification to the user. But I am getting below errors if i use ContentUtil.get(String location): 11:24:54,619 ERROR [http-bio-8080-exec-30][ContentUtil:64] java.io.IOException: Unable to open resource in class loader C:/Users/../Desktop/.../liferay-portal-6.1.20-ee-ga2/data/templates/ABC/client/email_client_add_request_subject.tmpl Can anyone suggest me the best way to Browse other questions tagged liferay or ask your own question.
The .war file was built using the /icefaces/lib/portlets/liferayfaces/liferay-faces-*-4.2.5-ga6.jar files from SVN. Liferay Custom Notifications Posted on June 15, 2014November 20, 2014 by Reigo Reinmets Java tutorial on how to handle Liferay custom notifications. Follow-up here: https://issues.liferay.com/browse/LPS-42303 Ashok says: November 3, 2014 at 06:41 HI Can you send me a code to my email id I need to look in to that code ans structure In there any other configuration.
Providing a bad Portlet ID or something like null leads to a hard-to-trace NullPointerException in the JSP. https://samebug.io/exceptions/475200/java.io.IOException/unable-to-open-resource-in-class-loader?soft=false Flag Please sign in to flag this as inappropriate. No amount of referencing deployment contexts seems to be of any use, if I figure out how to better link the 2 portlets I'll post as and when (if).Cheers Sign in This current example also handles the behavior like providing Approve and Reject buttons right in our example notification so that our example user could perform an action straight from the dockbar
As this is the portlet id for liferay notification portlet Reigo Reinmets says: October 29, 2014 at 21:19 The Portlet ID you provided seems good enough and should work although I http://popupjammer.com/java-io-ioexception-unable/java-io-ioexception-unable-to-write-on-channel-java-nio-channels-socketchannel.html No amount of referencing deployment contexts seems to be of any use, if I figure out how to better link the 2 portlets I'll post as and when (if). Providing a bad Portlet ID or something like null leads to a hard-to-trace NullPointerException in the JSP. No, that is not a Spring portlet.
Sharing is caringClick to share on Facebook (Opens in new window)Click to share on Google+ (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on LinkedIn I am getting the an error in jsp as "userNotifications is null" while trying to view notification. Hope this helps! --Rich “„ Maxx (6) Offline Jun 8, 2012 @ 3:45 AM #3 Re: Referencing Other Service Builder Objects Hey, Thanks for the ideas. my review here This allows us to define our Portlet ID in one location and keep things a little bit simpler.
Despite having the jar in the lib folder and the Deployment Context configured for the other project. here is the scriptlet of the jsp where error appears : var userNotifications = A.one(‘#portlet_1_WAR_notificationsportlet'); var userNotificationsList = userNotifications.one(‘.user-notifications-list-container .user-notifications-list'); Reigo Reinmets says: October 30, 2014 at 20:56 This seems to nicely understand by everyone..
Joseph Toman says: July 5, 2015 at 20:00 I typed too soon. The college in 'Electoral College' Is this sentence 'I know him a teacher.' acceptable? It doesn't actually need to be YOUR portlet ID but that would be the right thing to have there. Golf a Numerical Growing Braid Bought agency bond (FANNIE MAE 0% 04/08/2027), now what?
SB however not so keen to import what is required to make it work. “„ Reply to this topic © 2016 Manning Publications Co. I Quickly renamed the code when I made this tutorial so that was a typo. See the screenshot I made here In the liferay-portlet.xml:
I've tried place the icon.png to the root of my web get redirected here Reply Reigo Reinmets says: June 26, 2015 at 06:22 You can add custom notifications but I don't think you can "hook" a custom user notification handler in like that.
Any comment will be appreciated. All rights reserved Powered by JForum 2.3.6, © 2014 JForum Team home support contact us Register Login Forum Index » Messages posted by Maxx Advanced search Liferay in Action » Re: Reply Tito Gutierrez says: November 11, 2014 at 16:33 Hola, me puedes apoyar por favor con el tema de las notificaciones, tengo 3 tipos de notificaciones, y quisiera que cada notificacion Reply Chucky says: June 24, 2015 at 12:41 Hi, I know this blog post is quite old but I got a question : I want to add a struts action via
Create a plugin supporting the Application Display Template framework following the steps in the User Guide 2. I mention this briefly in the book on page 239, where I recommend that the custom service for the hook be copied to the global classpath, so that the customized Liferay Flag Please sign in to flag this as inappropriate. If the user has not logged in to liferay in X amount of time then the notifications should be sent to the E-mail.
All rights reserved Powered by JForum 2.3.6, © 2014 JForum Team Toggle navigation AndroidJava Core Java I/OJava XMLJava JSONJava RegExJDBCSpring Spring CoreSpring MVCSpring SecuritySpring Data MongoDBSpring BatchFrameworks JSF 2.0Hibernate ORMApache WicketStruts If you can't see the notification itself then that means that liferay was unable to build the notification HTML.