📄 object_field_editor.jsp
字号:
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<%@page contentType="text/html; charset=GBK"%>
<html:html>
<head>
<tops:includeCSS fileName="style"/>
<tops:includeJs fileName="common"/>
<tops:includeJs fileName="Table"/>
<tops:includeJs fileName="validateForm"/>
<title>对象属性编辑</title>
</head>
<body>
<html:form action="/actTopsJ2eeObjField" method="POST">
<html:hidden property="method"/>
<tops:showPageFunction pageFunction="持久化对象属性编辑"/>
<tops:toolbar>
<tops:toolbutton caption="保存" image="page_save"/>
<tops:toolbutton caption="返回" image="arrow_undo" onClick="history.go(-1)" checkAtClient="false"/>
</tops:toolbar>
<tops:requestUUID/>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" align="center">
<table border="0" cellpadding="0" cellspacing="1" width="90%">
<html:hidden property="id"/>
<tr>
<td align="center" width="20%">属性名称</td>
<td width="30%">
<tops:formEditor property="fieldName" attributename="属性名称" required="true" other="style='width=100%' class='inputBackGround'"/>
</td>
<td align="center" width="20%">代码</td>
<td width="30%">
<tops:formEditor property="fieldCode" attributename="代码" required="true" other="style='width=100%' class='inputBackGround'"/>
</td>
</tr>
<tr>
<td align="center">数据类型</td>
<td>
<html:select property="fieldType">
<html:options collection="dataType" property="designType" labelProperty="designType"/>
</html:select>
</td>
<td align="center">数据长度</td>
<td>
<html:text property="fieldLen" style="width:100%" styleClass="inputBackGround" onchange="isIntType(this,'请输入正确的数据长度!')"/>
</td>
</tr>
<tr>
<td align="center">必填属性</td>
<td>
<html:select property="fieldRequired" styleClass="inputBackGround">
<html:option value="否">否</html:option>
<html:option value="是">是</html:option>
</html:select>
</td>
<td align="center">默认值</td>
<td>
<html:text property="defaultVal" styleClass="inputBackGround" style="width:100%">
</html:text>
</td>
</tr>
<tr>
<td align="center">唯一属性</td>
<td >
<html:select property="isUnique" styleClass="inputBackGround">
<html:option value="否">否</html:option>
<html:option value="是">是</html:option>
</html:select>
</td>
<td align="center">参考对象</td>
<td >
<html:select property="refObjId" styleClass="inputBackGround">
<html:option value="">无</html:option>
<html:options collection="objList" property="id" labelProperty="objCode"/>
</html:select>
</td>
</tr>
<tr>
<td align="center">创建时间</td>
<td>
<html:text property="fd_ZzCreateDate" style="width:100%" styleClass="inputBackGround"> </html:text>
</td>
<td align="center">创建人</td>
<td>
<html:text property="zzCreateUser" style="width:100%" styleClass="inputBackGround"> </html:text>
</td>
</tr>
<tr>
<td align="center">备注</td>
<td colspan="3">
<html:textarea property="remark" rows="8" style="width:100%" styleClass="inputBackGround"> </html:textarea>
</td>
</tr>
</table>
</td>
</tr>
</table>
<html:hidden property="fieldOrd"/>
<html:hidden property="objId"/>
<html:hidden property="refObjId"/>
<html:hidden property="fd_CodeGenDate"/>
<html:hidden property="codeGenUser"/>
<html:hidden property="zzCurState"/>
<html:hidden property="fd_ZzCurStateSetDate"/>
<html:hidden property="zzRemoveUser"/>
<html:hidden property="fd_ZzRemoveDate"/>
<html:hidden property="recentModifyUser"/>
<html:hidden property="fd_RecentModifyDate"/>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -