📄 copy of updatedaoform.jsp
字号:
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ page import = "org.apache.struts.config.*, org.apache.struts.action.*, Jt.DAO.*" %>
<c:if test="${jtReply != null}">
<c:set var="daoForm" value="${jtReply}" scope="session" />
</c:if>
<html:form action= "CreateDAO?jtMsgId=GENERATE_DESCRIPTOR">
<fieldset>
<legend>Update Data Access Object </legend>
<br />
<label for="name">Class Name: </label>
<html:text property="name" readonly="true" size="40" /> <br />
<html:hidden property="fileName" /> <br />
<label>Table Name: </label>
<html:text property="table" /><br />
<label>Key(s): </label>
<html:select property="dbkeys" multiple="true" size="4">
<html:optionsCollection property="attributes" value="value" label="label"/>
</html:select><br />
<fieldset>
<legend> Table Mapping (field, database column, enabled?)</legend>
<logic:iterate id="dbmappings" name="daoForm" property="dbmappings" >
<html:text name="dbmappings" readonly="true" property="attribute" indexed="true"/>
<html:text name="dbmappings" property="column" indexed="true"/>
<html:checkbox name="dbmappings" property="enabled" indexed="true"/>
<br />
</logic:iterate><br />
</fieldset>
<br />
<hr />
<html:submit />
<html:cancel />
</fieldset>
</html:form>
<%
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -