<%@taglib uri="/WEB-INF/tld/iextend-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/iextend-session.tld" prefix="session"%>
<%@ taglib uri="/WEB-INF/tld/iextend-pagination.tld" prefix="pagination"%>
<%@ taglib uri="/WEB-INF/tld/iextend-sortOrder.tld" prefix="sortOrder"%>
<%@ taglib uri="/WEB-INF/tld/rxn.tld" prefix="rxn"%>
<head>
<base target="_self">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><bean:message key="title.authorize.change" /></title>
<link href="<session:constant name="ContextPath"/>/css/global_dbs.css"
rel="stylesheet" type="text/css" />
<script type="text/javascript">
function userProfilePRIframe(){
var iframe = document.getElementById("userProfilePR");
try{
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
iframe.height = height;
}catch (ex){}
}
window.setInterval("userProfilePRIframe()", 200);
function commonIframe(moduleName) {
var iframe = document.getElementById(moduleName);
try {
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
iframe.height = height;
} catch (ex) {
}
}
</script>
</head>
<%
String[][] modules = {
{"aname", "/a.do"},
{"bname", "/b.do"}
};
%>
<body>
<table width="100%">
<tr>
<td width="100%" align="center" class="MCcellPinkLt"> <strong><bean:message key="title.maintenance.approval"></bean:message></strong></td>
</tr>
<%
for (int i = 0; i < modules.length; i++) {
String[] module = modules[i];
%>
<tr>
<td>
<iframe name="<%=module[0]%>" src="<session:constant name="ContextPath"/><%=module[1]%>" width="100%" scrolling="no"></iframe>
<script type="text/javascript">
window.setInterval("commonIframe('<%=module[0]%>')", 200);
</script>
</td>
</tr>
<%
}
%>
</table>
</body>