Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.2 Popup window not coming out
Hello Everyone,I tried to develop popup window in liferay 7.2 as per following. But the popup window is not coming out. Please advise.
<portlet:renderURL var="popupURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<portlet:param name="mvcPath" value="/popup/viewpopup.jsp" />
</portlet:renderURL>
<aui:button href="${popupURL}" value="PopupUrl"/> <br>
<portlet:renderURL var="popupURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<portlet:param name="mvcPath" value="/popup/viewpopup.jsp" />
</portlet:renderURL>
<aui:button href="${popupURL}" value="PopupUrl"/> <br>
Attachments:
Hi,
You need to create the modal window and load that popup url in that .
You can refer below for
https://www.liferaystack.com/2017/09/aui-popup-and-aui-modal-dialog-in-liferay-7.html
http://www.javasavvy.com/lifeay-aui-popup-sample-code/
http://www.liferaysavvy.com/2014/06/liferay-62-aui-dialog-liferay-popup.html
You can also use clay ui for building modal
https://clayui.com/docs/components/modals.html
You need to create the modal window and load that popup url in that .
You can refer below for
https://www.liferaystack.com/2017/09/aui-popup-and-aui-modal-dialog-in-liferay-7.html
http://www.javasavvy.com/lifeay-aui-popup-sample-code/
http://www.liferaysavvy.com/2014/06/liferay-62-aui-dialog-liferay-popup.html
You can also use clay ui for building modal
https://clayui.com/docs/components/modals.html
Thank You.