I need to open a modal window after clicking a button, the content of that modal window has to be a custom jsp located in the portlet.
I've tried the following posts but anyone works for me.
http://www.liferaysavvy.com/2014/06/liferay-62-aui-dialog-liferay-popup.html https://web.liferay.com/es/community/forums/-/message_boards/message/39768821
In all cases, the modal window open but with the page that load inside is the same page where the button is.
The route where my jsp be is:
webapp\custom_jsps\html\portlet\document_library\test.jsp
The portletURL is:
<portlet:renderURL var="simpleDialogExample" windowState="<%=LiferayWindowState.EXCLUSIVE.toString()%>">
<portlet:param name="mvcPath" value="/html/portlet/document_library/test.jsp"/>
<portlet:param name="message" value="Hello welcome"/>
</portlet:renderURL>
I've tried also the following param:
<portlet:param name="mvcPath" value="/test.jsp"/>
<portlet:param name="mvcPath" value="\test.jsp"/>
<portlet:param name="mvcPath" value="/custom_jsps/html/portlet/document_library/test.jsp"/>
<portlet:param name="mvcPath" value="\custom_jsps\html\portlet\document_library\test.jsp"/>
<portlet:param name="jspPage" value="/html/portlet/document_library/test.jsp"/>
<portlet:param name="jspPage" value="/test.jsp"/>
Any help?
Thanks a lot