pageaddress.jsp

来自「开源项目CRM之OpenCustomer」· JSP 代码 · 共 197 行

JSP
197
字号
<%-- ***** 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" %>

<tiles:insert definition="crm.company.edit">
	<tiles:put name="page.content">

	
	<html:form action="/crm/company/edit/processPageAddress" focus="companyAddressName1" styleClass="default">
		<html:errors/>

		<%@include file="/module/crm/company/edit/slider.jsp"%>
		<div class="tabbedPage">
		<%-- Firmenadresse --%>
		<fieldset class="unit">
			<legend><buj:label property="companyAddress" errorStyleId="error"><bean:message key="entity.crm.address.type.companyAddress"/></buj:label></legend>
			<table>
				<tr>
					<td class="label"><buj:label property="companyAddressName1" errorStyleId="error"><bean:message key="entity.crm.address.name1"/></buj:label></td>
					<td><html:text property="companyAddressName1" styleId="companyAddressName1" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="companyAddressName2" errorStyleId="error"><bean:message key="entity.crm.address.name2"/></buj:label></td>
					<td><html:text property="companyAddressName2" styleId="companyAddressName2" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="companyAddressName3" errorStyleId="error"><bean:message key="entity.crm.address.name3"/></buj:label></td>
					<td><html:text property="companyAddressName3" styleId="companyAddressName3" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="companyAddressStreet" errorStyleId="error"><bean:message key="entity.crm.address.street"/></buj:label></td>
					<td><html:text property="companyAddressStreet" styleId="companyAddressStreet" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="companyAddressZip" errorStyleId="error"><bean:message key="entity.crm.address.zip"/></buj:label></td>
					<td><html:text property="companyAddressZip" styleId="companyAddressZip" maxlength="5" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="companyAddressCity" errorStyleId="error"><bean:message key="entity.crm.address.city"/></buj:label></td>
					<td><html:text property="companyAddressCity" styleId="companyAddressCity" maxlength="255" styleClass="full"/></td>
				</tr>
			</table>
		</fieldset>
		
		<%-- Postadresse --%>
		<fieldset class="unit">
			<legend><buj:label property="postalAddress" errorStyleId="error"><bean:message key="entity.crm.address.type.postalAddress"/></buj:label></legend>
			<table>
				<tr>
					<td class="label"><buj:label property="postalAddressName1" errorStyleId="error"><bean:message key="entity.crm.address.name1"/></buj:label></td>
					<td><html:text property="postalAddressName1" styleId="postalAddressName1" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="postalAddressName2" errorStyleId="error"><bean:message key="entity.crm.address.name2"/></buj:label></td>
					<td><html:text property="postalAddressName2" styleId="postalAddressName2" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="postalAddressName3" errorStyleId="error"><bean:message key="entity.crm.address.name3"/></buj:label></td>
					<td><html:text property="postalAddressName3" styleId="postalAddressName3" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="postalAddressStreet" errorStyleId="error"><bean:message key="entity.crm.address.street"/></buj:label></td>
					<td><html:text property="postalAddressStreet" styleId="postalAddressStreet" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="postalAddressPostbox" errorStyleId="error"><bean:message key="entity.crm.address.postbox"/></buj:label></td>
					<td><html:text property="postalAddressPostbox" styleId="postalAddressPostbox" maxlength="255" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="postalAddressZip" errorStyleId="error"><bean:message key="entity.crm.address.zip"/></buj:label></td>
					<td><html:text property="postalAddressZip" styleId="postalAddressZip" maxlength="5" styleClass="full"/></td>
				</tr>
				<tr>
					<td class="label"><buj:label property="postalAddressCity" errorStyleId="error"><bean:message key="entity.crm.address.city"/></buj:label></td>
					<td><html:text property="postalAddressCity" styleId="postalAddressCity" maxlength="255" styleClass="full"/></td>
				</tr>
			</table>
		</fieldset>
		
		<%-- Rechnungsadresse --%><%--
		<div class="unit">
			<div class="header"><buj:label property="billingAddress" errorStyleId="error"><bean:message key="entity.crm.address.type.billingAddress"/></buj:label></div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressName1" errorStyleId="error"><bean:message key="entity.crm.address.name1"/></buj:label>
				</div>
				<html:text property="billingAddressName1" styleId="billingAddressName1" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressName2" errorStyleId="error"><bean:message key="entity.crm.address.name2"/></buj:label>
				</div>
				<html:text property="billingAddressName2" styleId="billingAddressName2" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressName3" errorStyleId="error"><bean:message key="entity.crm.address.name3"/></buj:label>
				</div>
				<html:text property="billingAddressName3" styleId="billingAddressName3" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressStreet" errorStyleId="error"><bean:message key="entity.crm.address.street"/></buj:label>
				</div>
				<html:text property="billingAddressStreet" styleId="billingAddressStreet" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressPostbox" errorStyleId="error"><bean:message key="entity.crm.address.postbox"/></buj:label>
				</div>
				<html:text property="billingAddressPostbox" styleId="billingAddressPostbox" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressZip" errorStyleId="error"><bean:message key="entity.crm.address.zip"/></buj:label>
				</div>
				<html:text property="billingAddressZip" styleId="billingAddressZip" maxlength="5"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="billingAddressCity" errorStyleId="error"><bean:message key="entity.crm.address.city"/></buj:label>
				</div>
				<html:text property="billingAddressCity" styleId="billingAddressCity" maxlength="255"/>
			</div>
		</div>
		--%>
		<%-- Lieferadresse --%><%--
		<div class="unit">
			<div class="header"><buj:label property="deliveryAddress" errorStyleId="error"><bean:message key="entity.crm.address.type.deliveryAddress"/></buj:label></div>
			<div class="row">
				<div class="label">
					<buj:label property="deliveryAddressName1" errorStyleId="error"><bean:message key="entity.crm.address.name1"/></buj:label>
				</div>
				<html:text property="deliveryAddressName1" styleId="deliveryAddressName1" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="deliveryAddressName2" errorStyleId="error"><bean:message key="entity.crm.address.name2"/></buj:label>
				</div>
				<html:text property="deliveryAddressName2" styleId="deliveryAddressName2" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="deliveryAddressName3" errorStyleId="error"><bean:message key="entity.crm.address.name3"/></buj:label>
				</div>
				<html:text property="deliveryAddressName3" styleId="deliveryAddressName3" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="deliveryAddressStreet" errorStyleId="error"><bean:message key="entity.crm.address.street"/></buj:label>
				</div>
				<html:text property="deliveryAddressStreet" styleId="deliveryAddressStreet" maxlength="255"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="deliveryAddressZip" errorStyleId="error"><bean:message key="entity.crm.address.zip"/></buj:label>
				</div>
				<html:text property="deliveryAddressZip" styleId="deliveryAddressZip" maxlength="5"/>
			</div>
			<div class="row">
				<div class="label">
					<buj:label property="deliveryAddressCity" errorStyleId="error"><bean:message key="entity.crm.address.city"/></buj:label>
				</div>
				<html:text property="deliveryAddressCity" styleId="deliveryAddressCity" maxlength="255"/>
			</div>
		</div>
		--%>
			<%@include file="/module/crm/company/edit/button.jsp"%>			
		</div>
	</html:form>
	
	</tiles:put>
</tiles:insert>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?