i am facing the same problem after a lot of searching, i found this code that you can check in your portlet
"My problem appears in the iframe in the dialog box, but I can not because aui.css has encountered bootstrap.css"
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %> <%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> <%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> <%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> <%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> <portlet:renderURL var="simpleDialogIframeExample" windowState="<%=LiferayWindowState.POP_UP.toString()%>"> <portlet:param name="mvcPath" value="/html/alloyuidialog/iframe_alloyui_dialog_example.jsp"/> </portlet:renderURL> <a href="<portlet:renderURL />">«Home</a> <div class="separator"></div> <div> <h1>Iframe AUI Dialog Please click on button and see </h1><br/> <aui:button name="dialog-iframe-example" id="dialog-iframe-example" value="Click Here See Ifame Allou UI Dialog"> </aui:button> </div> <aui:script> AUI().use('aui-base', 'aui-io-plugin-deprecated', 'liferay-util-window', 'aui-dialog-iframe-deprecated', function(A) { A.one('#<portlet:namespace />dialog-iframe-example').on('click', function(event){ var popUpWindow=Liferay.Util.Window.getWindow( { dialog: { centered: true, constrain2view: true, //cssClass: 'yourCSSclassName', modal: true, resizable: false, width: 500 } } ).plug( A.Plugin.DialogIframe, { autoLoad: true, iframeCssClass: 'dialog-iframe', uri:'<%=simpleDialogIframeExample.toString()%>' }).render(); popUpWindow.show(); popUpWindow.titleNode.html("Liferay 6.2 Iframe Dialog Window"); popUpWindow.io.start(); }); }); </aui:script>
you can check this link " " quick wits in the elevator "
Elbaz source share