?? updatecompany.jsp
字號:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="com.web.component.*" %>
<%com.web.action.ActionContent input =(com.web.action.ActionContent) request.getAttribute("input");%>
<%
if(input==null)input=new com.web.action.ActionContent();
String jsppath=input.getParam("jsppath");%>
<html>
<head>
<script src="jsp/common/checkform.js"></script>
<link rel="stylesheet" type="text/css" href="jsp/project/css/main.css" media="all" />
<style>
A{
behavior:url(jsp/mdi/Link.htc);
}
</style>
<script>
function save(){
document.frm.cmd.value="doupdate";
if(checkform(document.frm))
document.frm.submit();
}
function saveback(){
document.frm.cmd.value="doupdateback";
if(checkform(document.frm))
document.frm.submit();
}
</script>
</head>
<BODY class=mainpage >
<form name=frm action="project.company.page" method="post" onSubmit="return checkform(this)">
<input type=hidden name=cmd value="doupdate">
<INPUT class=button type=button onclick="save()" value=保存>
<INPUT class=button type=button onclick="saveback()" value=保存并返回>
<input type=button class=button value="返回" onclick="history.back(-1)">
<TABLE class=std cellSpacing=1 cellPadding=1 width="100%" border=0>
<TR>
<input type=hidden name="key.company_id" value="<%=input.getParam("company_id")%>">
<input type=hidden name="query.company_id.equ.int" value="<%=input.getParam("company_id")%>">
<TD align=right width="83">公司名稱:</TD>
<TD width="233"><INPUT class=text maxLength=255 size=50 value="<%=input.getParam("company_name")%>"
name=modle.company_name style="width: 224; height: 20" dataType="Require" msg="公司名稱不能為空"> </TD>
<TD width="1"> </TD>
<TD align=right width="63">地址1:</TD>
<TD width="467"><INPUT class=text maxLength=255 size=50 value="<%=input.getParam("company_address1")%>"
name=modle.company_address1 style="width: 219; height: 20"> </TD></TR>
<TR>
<TD align=right width="83">Email:</TD>
<TD width="233"><INPUT class=text maxLength=255 size=30 name=modle.company_email value="<%=input.getParam("company_email")%>">
</TD>
<TD width="1">
</TD>
<TD align=right width="63">地址2:</TD>
<TD width="467"><INPUT class=text maxLength=255 size=50
name=modle.company_address2 value="<%=input.getParam("company_address2")%>" style="width: 219; height: 20">
</TD></TR>
<TR>
<TD align=right width="83">電話:</TD>
<TD width="233"><INPUT class=text maxLength=30 value="<%=input.getParam("company_phone1")%>"
name=modle.company_phone1> </TD>
<TD width="1"> </TD>
<TD align=right width="63">城市:</TD>
<TD width="467"><INPUT class=text maxLength=50 size=50 value="<%=input.getParam("company_city")%>"
name=modle.company_city style="width: 128; height: 20"> </TD></TR>
<TR>
<TD align=right width="83">電話2:</TD>
<TD width="233"><INPUT class=text maxLength=50 name=modle.company_phone2 value="<%=input.getParam("company_phone2")%>"> </TD>
<TD width="1"> </TD>
<TD align=right width="63">省/直轄市/自治區(qū):</TD>
<TD width="467"><INPUT class=text maxLength=50 value="<%=input.getParam("company_state")%>"
name=modle.company_state size="20"> </TD></TR>
<TR>
<TD align=right width="83">傳真:</TD>
<TD width="233"><INPUT class=text maxLength=30 value="<%=input.getParam("company_fax")%>"
name=modle.company_fax> </TD>
<TD width="1"> </TD>
<TD align=right width="63">郵政編碼:</TD>
<TD width="467"><INPUT class=text maxLength=15 value="<%=input.getParam("company_zip")%>"
name=modle.company_zip size="20"> </TD></TR>
<TR>
<TD align=right width="83"></TD>
<TD colspan="4" width="814"></TD></TR>
<TR>
<TD align=right width="83">URL http://<A name=x></A></TD>
<TD colspan="4" width="814"><INPUT class=text maxLength=255 size=50
name=modle.company_primary_url value="<%=input.getParam("company_primary_url")%>">
</TD></TR>
<TR>
<TD align=right width="83">公司法人:</TD>
<TD colspan="4" width="814"><SELECT class=text size=1 name=modle.company_owner>
<%=new Options(input.getParamObj("user"),input.getParam("company_owner"))%>
</SELECT> </TD></TR>
<TR>
<TD align=right width="83">類型:</TD>
<TD colspan="4" width="814"><SELECT class=text size=1 name=modle.company_type> <%=new Options(input.getParamObj("companytype"),input.getParam("company_type"))%></SELECT> </TD></TR>
<TR>
<TD vAlign=top align=right width="83">概述:</TD>
<TD align=left colspan="4" width="814"><TEXTAREA class=textarea name=modle.company_description rows=10 cols=89>
<%=input.getParam("company_description")%>
</TEXTAREA>
</TD></TR>
<TR>
<TD align=middle width="83"></TD></TR>
</TABLE>
</form>
</BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -