alert.dsp
来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· DSP 代码 · 共 45 行
DSP
45 行
<%@ page contentType="text/html;charset=UTF-8" %><%--alert.dsp{{IS_NOTE Purpose: Shows the alert from the request's parameters or from the arg attribute Description: Parameters: px_alert_type The alert type px_alert The alert message History: Tue Apr 12 11:41:02 2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT--%><%@ taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" %><%@ taglib uri="http://www.zkoss.org/dsp/web/html" prefix="h" %><c:set var="arg" value="${requestScope.arg}"/><c:set var="arg" value="${param}" if="${empty arg}"/><c:choose><c:when test="${arg.px_alert_type=='error'}"> <h:box color="red" caption="${c:l('error')}"><pre><c:out value="${arg.px_alert}"/></pre> </h:box></c:when><c:when test="${arg.px_alert_type=='warning'}"> <h:box color="#EEE040" caption="${c:l('warning')}"><pre><c:out value="${arg.px_alert}"/></pre> </h:box></c:when><c:otherwise> <h:box color="#606035"><pre><c:out value="${arg.px_alert}"/></pre> </h:box></c:otherwise></c:choose>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?