⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messages.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<#-- * Copyright (C) 2006  Open Source Strategies, Inc. *  * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *  * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. *  * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA--><#-- Copyright (c) 2005-2006 Open Source Strategies, Inc. --><#-- *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a  *  copy of this software and associated documentation files (the "Software"),  *  to deal in the Software without restriction, including without limitation  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,  *  and/or sell copies of the Software, and to permit persons to whom the  *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included  *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author     David E. Jones (jonesde@ofbiz.org) *@version    $Rev: 1 $--><#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if><#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if><#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if><#-- special error message override --><#if serviceValidationException?exists>  <#assign serviceName = serviceValidationException.getServiceName()?if_exists>  <#assign missingList = serviceValidationException.getMissingFields()?if_exists>  <#assign extraList = serviceValidationException.getExtraFields()?if_exists>  <#--  need if statement for EACH service (see the controller.xml file for service names) -->  <#if serviceName?has_content && serviceName == "createPartyContactMechPurpose">    <#-- create the inital message prefix -->    <#assign message = "${uiLabelMap.CommonRequiredFieldsFoundEmpty}:">    <#-- loop through all the missing fields -->    <#list missingList as missing>      <#--           check for EACH required field (see the service definition)           then append a message for the missing field; some fields may be           and not needed; this example show ALL fields for the service.           ** The value inside quotes must match 100% case included.       -->      <#if missing == "partyId">        <#assign message = message + "<li>${uiLabelMap.PartyPartyID}</li>">      </#if>      <#if missing == "contactMechId">        <#assign message = message + "<li>${uiLabelMap.PartyContactMechID}</li>">      </#if>      <#if missing == "contactMechPurposeTypeId">        <#assign message = message + "<li>${uiLabelMap.PartyContactPurpose}</li>">      </#if>    </#list>    <#-- this will replace the current error message with the new one -->    <#assign errorMsgReq = message>  </#if></#if><#-- display the error messages --><#if errorMessageList?has_content><div class="messages"><div class="errorMessageHeader">${uiLabelMap.CommonFollowingErrorsOccurred}:</div><ul class="errorList">  <#list errorMessageList as errorMsg>    <li class="errorMessage">${errorMsg}</li>  </#list></ul></div></#if><#if eventMessageList?has_content><div class="messages"><div class="eventMessageHeader">${uiLabelMap.CommonFollowingOccurred}:</div><ul class="eventList">  <#list eventMessageList as eventMsg>    <li class="eventMessage">${eventMsg}</li>  </#list></ul></div></#if>

⌨️ 快捷键说明

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