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

📄 content.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK" language="java"%>
<%@ taglib prefix="ww" uri="webwork"%>
<%@include file="/common/taglibs.jsp"%>
<ww:bean name="cn.myapps.core.deploy.module.action.ModuleHelper" id="moduleHelper" /> 
<html>
<head>
<link rel="stylesheet"
	href="<c:out value='${pageContext.request.contextPath}'/>/resource/css/main.css"
	type="text/css">
<script>
function returncheck()
{
     var mode = document.all('mode').value;
     if(mode==''){document.all('s_module').value='';}
     document.forms[0].action="<ww:url action='list.action'/>";
     document.forms[0].submit();
}
</script>
<title>{*[StyleLib]*}</title>
</head>
<body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0>
<table width="98%" class="list-table">
		<% 
		String backclass="button-image";
		if(request.getParameter("mode")!=null) 
  {
    String mode2 = (String)request.getParameter("mode");
   if(mode2.equals(""))
	   {%>
<tr>
<%}else{ backclass="back-class";%>
  <tr class="list-toolbar">
<%}
   }else{ %>
<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">{*[StyleLib]*}</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="<%=backclass%>"
					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="<%=backclass%>"
					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=80% border=0 align="center">

	<ww:form action="save" method="post" theme="simple">
	<%@include file="/common/page.jsp"%>	
	<ww:hidden name='s_module' value="%{#parameters._moduleid}" />
	<ww:hidden name='content.version'></ww:hidden>
	<ww:hidden name='mode' value="%{#parameters.mode}" />
	<tr><td width="10%" class="commFont">{*[Name]*}:</td>
	  <td width="90%"><ww:textfield cssClass="input-cmd" label="{*[Name]*}" theme="simple" name="content.name" /></td></tr>
	<ww:if test=" #parameters.mode[0] == 'module'">
 <ww:hidden name='_moduleid' value="%{#parameters._moduleid}" />
	</ww:if>
	<ww:else>
   <tr id='modid' style=''>
		<td class="commFont" >{*[Module]*}:</td>
		<td>
			<ww:select label="{*[Module]*}" name="_moduleid" list="#moduleHelper.getModuleSel(#session.APPLICATION)" theme='simple'/>
		</td>
	</tr>
 </ww:else>
	<tr><td class="commFont">{*[Content]*}:</td><td><ww:textarea cssClass="input-cmd" theme="simple" rows="20" cols="60" name="content.content"/></td></tr>
	
	</ww:form>
</table>
</body>
</html>

⌨️ 快捷键说明

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