page1.jsp
来自「开源项目CRM之OpenCustomer」· JSP 代码 · 共 138 行
JSP
138 行
<%-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is the OpenCustomer CRM.
-
- The Initial Developer of the Original Code is
- Thomas Bader (Bader & Jene Software-Ingenieurb黵o).
- Portions created by the Initial Developer are Copyright (C) 2005
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Thomas Bader <thomas.bader@bader-jene.de>
-
- ***** END LICENSE BLOCK ***** --%>
<%@ include file="/tiles/page.jsp" %>
<%@ page import="org.opencustomer.application.web.module.crm.company.*" %>
<tiles:insert definition="crm.company.edit">
<tiles:put name="page.content">
<html:form action="/crm/company/edit/processPage1" focus="companyName" styleClass="default">
<html:errors/>
<%@include file="/module/crm/company/edit/slider.jsp"%>
<div class="tabbedPage">
<fieldset class="unit">
<legend><bean:message key="domain.crm.company.set.common"/></legend>
<table>
<tr>
<td class="label"><buj:label property="companyName" errorStyleId="error"><bean:message key="entity.crm.company.companyName"/></buj:label></td>
<td><html:text property="companyName" styleId="companyName" maxlength="255" styleClass="full"/></td>
</tr>
<tr>
<td class="label"><buj:label property="url" errorStyleId="error"><bean:message key="entity.crm.company.url"/></buj:label></td>
<td><html:text property="url" styleId="url" maxlength="255" styleClass="full"/></td>
</tr>
</table>
</fieldset>
<fieldset class="unit">
<legend><bean:message key="domain.crm.company.set.communication"/></legend>
<table>
<tr>
<td class="label"><buj:label property="phone" errorStyleId="error"><bean:message key="entity.crm.company.phone"/></buj:label></td>
<td><html:text property="phone" styleId="phone" maxlength="50" styleClass="full"/></td>
</tr>
<tr>
<td class="label"><buj:label property="fax" errorStyleId="error"><bean:message key="entity.crm.company.fax"/></buj:label></td>
<td><html:text property="fax" styleId="fax" maxlength="50" styleClass="full"/></td>
</tr>
<tr>
<td class="label"><buj:label property="email" errorStyleId="error"><bean:message key="entity.crm.company.email"/></buj:label></td>
<td><html:text property="email" styleId="email" maxlength="255" styleClass="full"/></td>
</tr>
</table>
</fieldset>
<fieldset class="unit">
<legend><bean:message key="domain.crm.company.set.classification1"/></legend>
<table>
<tr>
<td class="label"><buj:label property="companyTypeId" errorStyleId="error"><bean:message key="entity.crm.companyType"/></buj:label></td>
<td>
<html:select property="companyTypeId" styleId="companyTypeId" styleClass="full">
<html:option value="0"><bean:message key="default.select.none"/></html:option>
<html:options collection="<%=Constants.COMPANY_COMPANYTYPE_LIST%>" property="id" labelProperty="name"/>
</html:select>
</td>
</tr>
<tr>
<td class="label"><buj:label property="companyStateId" errorStyleId="error"><bean:message key="entity.crm.companyState"/></buj:label></td>
<td>
<html:select property="companyStateId" styleId="companyStateId" styleClass="full">
<html:option value="0"><bean:message key="default.select.none"/></html:option>
<html:options collection="<%=Constants.COMPANY_COMPANYSTATE_LIST%>" property="id" labelProperty="name"/>
</html:select>
</td>
</tr>
</table>
</fieldset>
<fieldset class="unit">
<legend><bean:message key="domain.crm.company.set.classification2"/></legend>
<table>
<tr>
<td class="label"><buj:label property="legalFormId" errorStyleId="error"><bean:message key="entity.crm.legalForm"/></buj:label></td>
<td>
<html:select property="legalFormId" styleId="legalFormId" styleClass="full">
<html:option value="0">---</html:option>
<logic:iterate id="legalFormGroup" name="<%=Constants.COMPANY_LEGALFORMGROUP_LIST%>" scope="session">
<optgroup label="<bean:write name="legalFormGroup" property="name"/>">
<bean:define id="legalForms" name="legalFormGroup" property="legalForms" scope="page"/>
<html:options collection="legalForms" property="id" labelProperty="name"/>
</optgroup>
</logic:iterate>
</html:select>
</td>
</tr>
<tr>
<td class="label"><buj:label property="sectorId" errorStyleId="error"><bean:message key="entity.crm.sector"/></buj:label></td>
<td>
<html:select property="sectorId" styleId="sectorId" styleClass="full">
<html:option value="0">---</html:option>
<html:options collection="<%=Constants.COMPANY_SECTOR_LIST%>" property="id" labelProperty="name"/>
</html:select>
</td>
</tr>
<tr>
<td class="label"><buj:label property="staffCount" errorStyleId="error"><bean:message key="entity.crm.company.staffCount"/></buj:label></td>
<td><html:text property="staffCount" styleId="staffCount" maxlength="5" styleClass="full"/></td>
</tr>
</table>
</fieldset>
<fieldset class="unit">
<legend><buj:label property="comment" errorStyleId="error"><bean:message key="entity.crm.company.comment"/></buj:label></legend>
<table>
<tr>
<td>
<html:textarea property="comment" styleId="comment" styleClass="full"/>
</td>
</tr>
</table>
</fieldset>
<%@include file="/module/crm/company/edit/button.jsp"%>
</div>
</html:form>
</tiles:put>
</tiles:insert>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?