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

📄 displayformandview.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.btnView.style.color="black";
	document.all.btnFrom.style.color="black";
	document.all.btnWorkflow.style.color="black";
	document.all.btnImgLibs.style.color="black";
	document.all.btnStyleLibs.style.color="black";
	document.all.btnMacroLibs.style.color="black";
    document.all.btnReport.style.color="black";
    document.all.btnDts.style.color="black";
    document.all.btnValidateLibs.style.color="black";
    document.all.btnPage.style.color="black";
	switch (display){ 
		case "BasicInfo": document.all.btnBasicInfo.style.color="red";frames["frame"].location.href="<ww:url value='/core/deploy/module/edit.action'/>?id=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "View": document.all.btnView.style.color="red";frames["frame"].location.href="<ww:url value='/core/dynaform/view/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "Form": document.all.btnFrom.style.color="red";frames["frame"].location.href="<ww:url value='/core/dynaform/form/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "Workflow": document.all.btnWorkflow.style.color="red";frames["frame"].location.href="<ww:url value='/core/workflow/billflow/defi/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "ImgLibs"  : document.all.btnImgLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/image/repository/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "StyleLibs": document.all.btnStyleLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/style/repository/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "ValidateLibs": document.all.btnValidateLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/validate/repository/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "MacroLibs": document.all.btnMacroLibs.style.color="red";frames["frame"].location.href="<ww:url value='/core/macro/repository/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "Report": document.all.btnReport.style.color="red";frames["frame"].location.href="<ww:url value='/core/report/reportconfig/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
		case "DTS": document.all.btnDts.style.color="red";frames["frame"].location.href="<ww:url value='/core/dynaform/dts/exp/mappingconfig/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;         
        case "Page": document.all.btnPage.style.color="red";frames["frame"].location.href="<ww:url value='/core/page/list.action'/>?s_module=<%=request.getParameter("moduleid") %>&mode=module";break;
	} 
}
</script>

</head>
<body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0> 
<table width="100%" height="98%"  border="0" cellspacing="0" cellpadding="0" style="display:">
	<tr >
	<td align="left" class="table-header" height="5%" ><ww:property value=""/>
	<table cellspacing="0" width="100%"><tr>
		<td><input type="button"  style="color:red" name="btnBasicInfo" class="btcaption" onclick="myswitch('BasicInfo')" value="{*[BasicInfo]*}"/></td>
		<td><input type="button"  name="btnFrom" class="btcaption" onclick="myswitch('Form')" value="{*[Form]*}"/></td>
		<td><input type="button"  name="btnView" class="btcaption"  onclick="myswitch('View')" value="{*[View]*}"/></td>
		<td><input type="button"  name="btnWorkflow" class="btcaption"   onclick="myswitch('Workflow')" value="{*[Workflow]*}"/></td>
		<td><input type="button"  name="btnImgLibs"   class="btcaption" onclick="myswitch('ImgLibs')" value="{*[ImgLibs]*}"/></td>
		<td><input type="button"  name="btnStyleLibs" class="btcaption" onclick="myswitch('StyleLibs')" value="{*[StyleLibs]*}"/></td>
		<td><input type="button"  name="btnValidateLibs" class="btcaption" onclick="myswitch('ValidateLibs')" value="{*[ValLibs]*}"/></td>
		<td><input type="button"  name="btnMacroLibs" class="btcaption" onclick="myswitch('MacroLibs')" value="{*[MacroLibs]*}"/></td>
		<td><input type="button"  name="btnReport" class="btcaption" onclick="myswitch('Report')" value="{*[Report]*}"/></td>
		<td><input type="button"  name="btnDts" class="btcaption" onclick="myswitch('DTS')" value="{*[DTS]*}"/></td>
		<td><input type="button" name="btnPage" class="btcaption" onclick="myswitch('Page')" value="{*[Page]*}"/></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/module/edit.action'/>?id=<%=request.getParameter("moduleid") %>&mode=module" 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 + -