⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 displayapplication.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib prefix="ww" uri="webwork"%>
<%@include file="/common/taglibs.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet"
	href="<c:out value='${pageContext.request.contextPath}'/>/resource/css/main.css"
	type="text/css">
<script>
function change(display){
	document.all.btnBasicInfo.style.color="black";
	document.all.btnImgLibs.style.color="black";
	document.all.btnStyleLibs.style.color="black";
	document.all.btnMacroLibs.style.color="black";
	document.all.btnPage.style.color="black";
	document.all.btnReport.style.color="black";
	document.all.btnValidateLibs.style.color="black";
	document.all.btnComponent.style.color ="black";
	switch (display){ 
		case "BasicInfo": document.all.btnBasicInfo.style.color="red";frames["frame"].location.href="<ww:url value='/core/deploy/application/edit.action'/>?id=<%=request.getParameter("id") %>&mode=application";break;
		case "ImgLibs"  : document.all.btnImgLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/image/repository/list.action'/>?mode=application";break;
		case "StyleLibs": document.all.btnStyleLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/style/repository/list.action'/>?mode=application";break;
		case "ValidateLibs": document.all.btnValidateLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/validate/repository/list.action'/>?mode=application";break;
		case "MacroLibs": document.all.btnMacroLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/macro/repository/list.action'/>?mode=application";break; 
	    case "Page": document.all.btnPage.style.color="red";frames["frame"].location.href="<ww:url value='/core/page/list.action'/>?mode=application";break;  
	    case "Component": document.all.btnComponent.style.color="red";frames["frame"].location.href="<ww:url value='/core/dynaform/component/list.action'/>?mode=application";break;
	    case "Report": document.all.btnReport.style.color="red";frames["frame"].location.href="<ww:url value='/core/report/reportconfig/list.action'/>?mode=application";break; 
	} 
}
</script>

</head>
<body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0> 
<table width="100%" height="98%"  border="0" cellspacing="0" cellpadding="0">
	<tr >
	<td align="left" class="table-header" height="5%" ><ww:property value=""/>
		<table cellspacing="0" width="100%">
		<tr>
		<td>
			<input type="button" name="btnBasicInfo" class="btcaption" onclick="myswitch('BasicInfo')" value="{*[BasicInfo]*}"/>
			<input type="button" name="btnImgLibs"   class="btcaption" onclick="myswitch('ImgLibs')" value="{*[ImgLibs]*}"/>
			<input type="button" name="btnStyleLibs" class="btcaption" onclick="myswitch('StyleLibs')" value="{*[StyleLibs]*}"/>
			<input type="button" name="btnValidateLibs" class="btcaption" onclick="myswitch('ValidateLibs')" value="{*[ValLibs]*}"/>
			<input type="button" name="btnMacroLibs" class="btcaption" onclick="myswitch('MacroLibs')" value="{*[MacroLibs]*}"/>
			<input type="button" name="btnPage" class="btcaption" onclick="myswitch('Page')" value="{*[Page]*}"/>
			<input type="button" name="btnComponent" class="btcaption" onClick="myswitch('Component')" value="{*[Component]*}"/>
			<input type="button" name="btnReport" class="btcaption" onclick="myswitch('Report')" value="{*[Report]*}"/>
		</td>
		</tr>
	  </table>
    </td>
  </tr>
  <tr><td valign="top" height="93%">
		<iframe  scrolling="no" style="overflow:auto;height:100%;width:100%" id="frame" name="Frame" border="0" src="<ww:url value='/core/deploy/application/edit.action'/>?id=<%=request.getParameter("id") %>&mode=application" width="786" height="500" frameborder="0"/></iframe>
  </td></tr>
</table>
<script>
 var name;
var i;
document.ondblclick = new Function("myswitch('2')");
function callManager()
{
   if (i!=2) change(i);   
   if(i==2) test();
}

function myswitch(identify)
{
  i = identify;
  var   val   =   setTimeout("callManager();",1000);   
  if   (i==2)   clearTimeout(val);   
}
 
function test() {
	
    window.parent.Mytest();
}
</script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -