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

📄 listtablecontent.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK"
	pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib prefix="ww" uri="webwork"%>
<%@include file="/common/taglibs.jsp"%>
<%@ page import="cn.myapps.core.report.reportconfig.ejb.ReportConfig"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head><title>{*[ReportConfig]*}</title>
<link rel="stylesheet"
	href="<c:out value='${pageContext.request.contextPath}'/>/resource/css/main.css"
	type="text/css"></head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="<ww:url id="url" value='/resourse/main.css'/>"/>
<script src="<ww:url value='/script/util.js'/>"></script>
<script src="<ww:url value='/script/list.js'/>"></script>
<script src='<ww:url value="/dwr/engine.js"/>'></script>
<script src='<ww:url value="/dwr/util.js"/>'></script>
<script src='<ww:url value="/dwr/interface/ModuleHelper.js"/>'></script>
<script src='<ww:url value="/script/htmlutil.js"/>'></script>

<script>
function ev_switchpage(sId){
 document.all('basic').style.display = 'none';
 document.all('columnpage').style.display ='none';
 document.all(sId).style.display = '';

}
function returncheck()
{
//     var mode = document.all('mode').value;
//    if(mode==null||mode==''){  document.all('s_application').value='';document.all('s_module').value='';}
//    if(mode=='application'){document.all('s_module').value='';}
     document.forms[0].action="<ww:url action='list.action'/>";
     document.forms[0].submit();
}
</script>

<body SCROLL = 'auto' leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0">
<ww:form name="columnform" action="save" method="post">
<ww:hidden name='s_module' value="%{#parameters._moduleid}" />
<ww:hidden name='_moduleid' value="%{#parameters._moduleid}" />
<ww:hidden name='mode' value="%{#parameters.mode}" />
<input type="hidden" name="_creatReportType" value='<ww:property value="#parameters['_creatReportType']"/>' />
 <input type="hidden" name="_currpage" value='<ww:property value="#parameters['_currpage']"/>' />
<input type="hidden" name="_pagelines" value='<ww:property value="#parameters['_pagelines']"/>' />
<input type="hidden" name="_rowcount" value='<ww:property value="#parameters['_rowcount']"/>' />
<ww:if test = "_reportType==null">
<ww:hidden name="_reportType"   value="%{#parameters._reportType}" />
</ww:if>
<ww:else>
<ww:hidden name="_reportType"/>
</ww:else>

<ww:hidden name="content.id"/>

<ww:bean name="cn.myapps.core.report.query.action.QueryHelper" id="queryHelper">
<ww:param name="moduleid" value="%{#parameters._moduleid}" />
<ww:param name="applicationid" value="%{#session.APPLICATION}" />
</ww:bean>
<ww:bean name="cn.myapps.core.report.tablecolumn.action.TableColumnHelper" id="th" >
<ww:param name="_queryid" value="content.query.id" />
</ww:bean>
<ww:bean name="cn.myapps.core.report.dataprepare.action.DataPrepareHepler" id="dph"/>
<table width="98%" >
		<tr>
			<td width="10" class="image-label"><img
				src="<ww:url value="/resource/image/email2.jpg"/>" /></td>
			<td width="3"></td>
			<td width="90" class="text-label">{*[ReportConfig]*}</td>
			<td>
			<table width="100%" border=1 cellpadding="0" cellspacing="0" class="line-position" ><tr><td ></td>
			<td class="line-position2" width="60" valign="top">
				<button class="button-image" onClick="forms[0].action='<ww:url action="reportCondition"></ww:url>';forms[0].submit();"><img src="<ww:url value="/resource/image/new2.jpg"/>">{*[Report]*}</button>
				</td>
				<td class="line-position2" width="60" valign="top">
				<button class="button-image" onClick="forms[0].action='<ww:url action="save"></ww:url>';forms[0].submit();"><img src="<ww:url value="/resource/image/save.gif"/>">{*[Save]*}</button>
				</td>
				<td class="line-position2" width="70" valign="top">
				<button class="button-image" onClick="returncheck();"><img src="<ww:url value="/resource/image/back.gif"/>">{*[Exit]*}</button>
				</td>
			</tr></table>
			</td>
		</tr>
	</table>
		<ww:if test="hasFieldErrors()">
	<span class="errorMessage"> <b>{*[Errors]*}:</b><br>
	<ww:iterator value="fieldErrors">
		*<ww:property value="value[0]" />;
	</ww:iterator> </span>
</ww:if>
<table width='100%'  >
	<tr valign='top' height='20'>
		<td>
		<table>
			<tr>
				<td><input class="button-cmd" type="button"
					onclick="ev_switchpage('basic')" value="{*[Basic]*}" />
					<input class="button-cmd" type="button"
						onclick="ev_switchpage('columnpage')" value="{*[Query]*}" /></td>
		</tr>
		<tr>
	<td class="reportText">{*[Title]*}:&nbsp;
	<ww:textfield cssClass="input-cmd" name="content.name" theme="simple"/>
	</td>
 		<td class="reportText">{*[Query]*}:<ww:select name="_query" list="#queryHelper._queryStringList"  listKey="id" listValue="name" emptyOption="true" theme='simple'  ></ww:select></td> 
 		<td class="reportText">{*[DataPrepare]*}:<ww:select name="_dataPrepare"  list="#dph.getAllDataPrepareByApplication(#session.APPLICATION)" listKey="id" listValue="name"  emptyOption="true" theme='simple'/></td>
 		</tr>
		</table>  
		</td>
	</tr>
	</table>
<table id='basic' width="100%" >
<tr width='100%'><td width='100%'><table id="disgroup" width='100%'>
	<tr >
		<td ><ww:if test="content.id!=null&&_query!=null">
		<div id="div_cloumn"><iframe height="45" name="cloumnFrame" scrolling="no"
			src='<ww:url value="/core/report/tablecolumn/list.action" />?_reportConfigid=<ww:property value="content.id"/>&_type=<%=ReportConfig.Column_Type_Group1%>&_queryid=<ww:property value="_query"/>'
			width="100%"  frameborder="0" /></iframe></div>
         </ww:if></td>
	</tr>
	<tr>
		<td width="100%"><ww:if test="content.id!=null&&_query!=null">
		<div id="div_cloumn"><iframe name="cloumnFrame" height="45" scrolling="no"
			src='<ww:url value="/core/report/tablecolumn/list.action" />?_reportConfigid=<ww:property value="content.id"/>&_type=<%=ReportConfig.Column_Type_Group2%>&_queryid=<ww:property value="_query"/>'
			width="100%" frameborder="0" /></iframe></div>
         </ww:if></td>
	</tr>
	<tr>
		<td width="100%"><ww:if test="content.id!=null&&_query!=null">
		<div id="div_cloumn"><iframe name="cloumnFrame" height="45" scrolling="no"
			src='<ww:url value="/core/report/tablecolumn/list.action" />?_reportConfigid=<ww:property value="content.id"/>&_type=<%=ReportConfig.Column_Type_Group3%>&_queryid=<ww:property value="_query"/>'
			width="100%" frameborder="0" /></iframe></div>
         </ww:if></td>
	</tr>
	<tr>
		<td width="100%"><ww:if test="content.id!=null&&_query!=null">
		<div id="div_cloumn"><iframe name="cloumnFrame" height="45" scrolling="no"
			src='<ww:url value="/core/report/tablecolumn/list.action" />?_reportConfigid=<ww:property value="content.id"/>&_type=<%=ReportConfig.Column_Type_Group4%>&_queryid=<ww:property value="_query"/>'
			width="100%"  frameborder="0" /></iframe></div>
         </ww:if></td>
	</tr></table>
	</td></tr>
	<tr><td>
	<table id="disDeSu" width='100%'>
	<tr>
		<td width="100%"><ww:if test="content.id!=null&&_query!=null">
		<div id="div_cloumn"><iframe name="cloumnFrame" height="45" scrolling="no"
			src='<ww:url value="/core/report/tablecolumn/list.action" />?_reportConfigid=<ww:property value="content.id"/>&_type=<%=ReportConfig.Column_Type_Detail%>&_queryid=<ww:property value="_query"/>'
			width="100%"  frameborder="0" /></iframe></div>
         </ww:if></td>
	</tr>
	<tr>
		<td width="100%"><ww:if test="content.id!=null&&_query!=null">
		<div id="div_cloumn"><iframe name="cloumnFrame"  height="45" scrolling="no"
			src='<ww:url value="/core/report/tablecolumn/list.action" />?_reportConfigid=<ww:property value="content.id"/>&_type=<%=ReportConfig.Column_Type_summary%>&_queryid=<ww:property value="_query"/>'
			width="100%"  frameborder="0" /></iframe></div>
         </ww:if></td>
	</tr>
	</table>
	</td>
	</tr>
	</table>

<table id='Query' width="100%" >
	<tr id='columnpage' style='display:none'>
		<td width="100%">
		<div id="div_cloumn"><iframe name="cloumnFrame" scrolling="no"
			src='<ww:url value="/core/report/query/list.action" />?s_module=<ww:property value="#parameters._moduleid"/>&_moduleid=<ww:property value="#parameters._moduleid"/>&s_application=<ww:property value="#parameters._applicationid"/>'
			width="100%" height="330" frameborder="0" /></iframe></div>
		</td>
</tr>
</table>	
</ww:form>

</body>
</html>

⌨️ 快捷键说明

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