Skip to content

Instantly share code, notes, and snippets.

@omarnetfr
Created January 24, 2014 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omarnetfr/8595945 to your computer and use it in GitHub Desktop.
Save omarnetfr/8595945 to your computer and use it in GitHub Desktop.
<portlet:renderURL var="viewPopupURL" windowState="<%= LiferayWindowState.EXCLUSIVE.toString() %>">
<portlet:param name="jspPage" value="/html/your-portlet/your-jsp.jsp" />
</portlet:renderURL>
<a:aui onclick="<portlet:namespace />openPopupWindow('<%= viewPopupURL %>', 'Name of your popup', '<%= portletDisplay.getId() %>'); return false;"><liferay-ui:message key="link-message" /></aui:a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment