Use of Private Messenger in JSF portletUse of Private Messenger in JSF portlethttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1152440372024-03-29T05:41:07Z2024-03-29T05:41:07ZRE: Use of Private Messenger in JSF portletZarina Omurovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152689142019-09-12T11:45:50Z2019-09-12T11:45:50ZHi Neil,<br />am taking another path to impl. this and not using portlet:runtime, but appreciate your help and time.<br /><br />Thank you,ZarinaZarina Omurova2019-09-12T11:45:50ZRE: Use of Private Messenger in JSF portletZarina Omurovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152611162019-09-12T07:02:26Z2019-09-12T07:02:26ZHi Neil, here is the usage:<br /><p:dialog id="test" widgetVar="test" modal="true" resizable="true" ><br /> <h:form><br /> <portal:runtime portletName="com_liferay_social_privatemessaging_web_portlet_PrivateMessagingPortlet"/><br /> </h:form><br /></p:dialog>Zarina Omurova2019-09-12T07:02:26ZRE: Use of Private Messenger in JSF portletNeil Griffinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152653172019-09-11T18:47:39Z2019-09-11T18:47:39ZOK, please paste the exact usage of portal:runtime -- the example you gave had a "..."<blockquote><portal:runtime portletName="...social_privatemessaging_web_portlet_PrivateMessagingPortlet" /><br /></blockquote>Neil Griffin2019-09-11T18:47:39ZRE: Use of Private Messenger in JSF portletZarina Omurovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152649802019-09-11T18:39:52Z2019-09-11T18:39:52ZHi Neil, yes I do have the dependencies included.<br />Regards,ZarinaZarina Omurova2019-09-11T18:39:52ZRE: Use of Private Messenger in JSF portletNeil Griffinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152632722019-09-11T16:54:48Z2019-09-11T16:54:48ZHi Zarina, are you including the com.liferay.faces.portal.jar dependency in your WAR?Neil Griffin2019-09-11T16:54:48ZRE: Use of Private Messenger in JSF portletZarina Omurovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152597072019-09-11T16:49:54Z2019-09-11T16:49:54ZI am using just simple modal p:dialog, no need for detached window. I just can't understand how do i call exactly that jsp from contact portlet which is shown after button click on msg? Because if i embedd the whole portlet it will show the whole contact portlet? I've tried to test it and called on button click a p:dialog with following call to privat messaging app as test <br /><br /><br />..here call on button click<br />...<p:dialog ..><h:form><br /><portal:runtimeportletName="...social_privatemessaging_web_portlet_PrivateMessagingPortlet" /><br /></h:form><br /></p:dialog><br />but its not showing any embedded portlet, not what i need, but wanted to check as a test.Zarina Omurova2019-09-11T16:49:54ZRE: Use of Private Messenger in JSF portletNeil Griffinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152625592019-09-11T16:40:16Z2019-09-11T16:40:16ZYes, you can use it only for the popup window. Do you want it to be a popup within the current page (for example, like a <a href="https://www.primefaces.org/showcase/ui/overlay/dialog/basic.xhtml">PrimeFaces p:dialog</a>) or a detatched window / browser tab? If using something like p:dialog then you can simply use the portal:runtime component tag I mentioned earlier. If using a detached window / browser tab then the URL of the window must be a portlet RenderURL that targets the standard contact portlet. You can use the <a href="https://github.com/liferay/liferay-portal/blob/master/portal-kernel/src/com/liferay/portal/kernel/portlet/PortletURLFactoryUtil.java">PortletURLFactoryUtil</a> API to create a RenderURL for any portlet deployed within the system.Neil Griffin2019-09-11T16:40:16ZRE: Use of Private Messenger in JSF portletZarina Omurovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152514412019-09-11T06:31:40Z2019-09-11T06:31:40ZHi Neil,<br /><br />thank you for your time and suggestion, is it possible to use it only for that popup window, because i don't need to embed the whole private messenger app in jsf?<br /><br />Thank you,<br />ZarinaZarina Omurova2019-09-11T06:31:40ZRE: Use of Private Messenger in JSF portletNeil Griffinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152489302019-09-10T16:50:29Z2019-09-10T16:50:29ZHi Zarina,<br />I recommend that you take a look at the <a href="https://faces.liferay.dev/portal-showcase/-/portal-tag/portal/runtime/general">portal:runtime</a> JSF component provided by the Liferay Faces Portal dependency. It provides the ability to embed a non-JSF portlet within a JSF portlet view.<br />Kind Regards,<br />NeilNeil Griffin2019-09-10T16:50:29ZUse of Private Messenger in JSF portletZarina Omurovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1152440362019-09-10T16:36:20Z2019-09-10T16:36:20ZHi all,<br /><br />i have a question having relevance to private messenger app feature from liferay in combination with customJSF Portlet. Are there any options to call a popup on button click from JSF Portlet and see the same popup window which appears by standard liferay contacts portlet, when you click on "message" button in contact portlet, please see attached file? Using Liferay 7, JSF Portlet (com.liferay.faces -5.0.3, primefaces). I have commandButton inside my .xhtml file and i want to call popup window which triggers that popup from new_message. js