?? query.jsp
字號(hào):
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="jvc.web.component.*" %>
<%jvc.web.action.ActionContent input =(jvc.web.action.ActionContent) request.getAttribute("input");%>
<html>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
<script>
function selectall(v){
var f = document.forms["demo"];
for (i=0;i<f.elements.length;i++)
f.elements[i].checked = v;
}
</script>
<BODY>
<form name="demo" action="common.dict.page?cmd=dodel" method="post" onsubmit="<%=input.getParam("checkform")%>">
<p align="center"><font size="5">JVC(Java View Control) Java(視圖-控制)字典管理</font></p>
<p><font color=red><%=input.getParam("message")%></font> </p>
<INPUT type=button onclick="javascript:window.location='common.dict.page?cmd=add'" value=新建>
<INPUT type=submit value="批量刪除">
<TABLE border="1" >
<TH><input type="checkbox" name="C1" value="ON" onclick="selectall(this.checked)" title="點(diǎn)擊全部選擇"></TH>
<TH noWrap>記錄位置</TH>
<TH noWrap>名稱</TH>
<TH noWrap>描述</TH>
<TH noWrap>數(shù)據(jù)管理</TH>
<TH>修改</TH>
<TH>刪除</TH>
<%Table res=new Table(input.getParamObj("res"));
while (res.next()){
%>
<TR>
<TD><INPUT name="mkey.dictName" type="checkbox" value="<%=res.getField("dictName")%>"></TD>
<TD><%=res.getField("row")%></TD>
<TD><%=res.getField("dictName")%></TD>
<TD><%=res.getField("dictCaption")%></TD>
<TD><a href="common.dictvalues.page?cmd=query&query.dictName=<%=res.getField("dictName")%>&query.dictValue=<%=res.getField("dictValue")%>">數(shù)據(jù)管理</a></TD>
<TD><a href="common.dict.page?cmd=update&query.dictName=<%=res.getField("dictName")%>">修改</a></TD>
<TD><a href="common.dict.page?cmd=dodel&key.dictName=<%=res.getField("dictName")%>">刪除</a></TD>
</TR>
<%}%>
</TABLE>
<%Page p=new Page(input.getParamObj("res.page"));%>
<%=p.toHtml("common.dict.page?cmd=query")%>
</form>
</BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -