From 4d0fd62ead0b4f41826f10c04809da07ab3a585b Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 13 Jun 2023 13:45:29 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EC=8A=A4=ED=85=80=20=ED=83=9C?= =?UTF-8?q?=EA=B7=B8=20=ED=8C=8C=EC=9D=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/include/taglib.jsp | 5 +- .../webapp/WEB-INF/tlds/CreateCodeTag.tld | 76 +++ .../WEB-INF/tlds/CustomTagSelectCodeList.tld | 50 ++ src/main/webapp/WEB-INF/tlds/code.tld | 145 +++++ src/main/webapp/WEB-INF/tlds/egovc.tld | 552 ++++++++++++++++++ src/main/webapp/WEB-INF/tlds/privacy.tld | 39 ++ 6 files changed, 866 insertions(+), 1 deletion(-) create mode 100644 src/main/webapp/WEB-INF/tlds/CreateCodeTag.tld create mode 100644 src/main/webapp/WEB-INF/tlds/CustomTagSelectCodeList.tld create mode 100644 src/main/webapp/WEB-INF/tlds/code.tld create mode 100644 src/main/webapp/WEB-INF/tlds/egovc.tld create mode 100644 src/main/webapp/WEB-INF/tlds/privacy.tld diff --git a/src/main/webapp/WEB-INF/jsp/include/taglib.jsp b/src/main/webapp/WEB-INF/jsp/include/taglib.jsp index 19a0e603..19684f49 100644 --- a/src/main/webapp/WEB-INF/jsp/include/taglib.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/taglib.jsp @@ -1,4 +1,7 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false" %><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" -%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> \ No newline at end of file +%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> + +<%@ taglib prefix="code" uri="/WEB-INF/tlds/code.tld"%> +<%@ taglib prefix="privacy" uri="/WEB-INF/tlds/privacy.tld"%> \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/tlds/CreateCodeTag.tld b/src/main/webapp/WEB-INF/tlds/CreateCodeTag.tld new file mode 100644 index 00000000..b1bc3486 --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/CreateCodeTag.tld @@ -0,0 +1,76 @@ + + + + + 1.2 + cct + + 코드관리 코드 리스트 태그(select, checkbox, radio) 만들기 + codeTag + egovframework.itgcms.util.CreateCodeTag + empty + + + pcode + true + true + + + tagType + false + true + + + tagName + true + true + + + selectedValue + false + true + + + tagTitle + false + true + + + className + false + true + + + useNullOpt + false + true + + + + 코드관리 코드 이름 가져오기 + getCodeName + egovframework.itgcms.util.GetCode + empty + + + code + true + true + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/tlds/CustomTagSelectCodeList.tld b/src/main/webapp/WEB-INF/tlds/CustomTagSelectCodeList.tld new file mode 100644 index 00000000..7521f9e3 --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/CustomTagSelectCodeList.tld @@ -0,0 +1,50 @@ + + + + + 1.2 + ora + + 코드관리 코드 리스트 SELECT 태그 만들기 + selectCodeList + egovframework.itgcms.util.CustomTagSelectCodeList + empty + + codeList + true + true + + + selectName + true + true + + + selectedValue + true + true + + + selectTitle + true + true + + + className + false + true + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/tlds/code.tld b/src/main/webapp/WEB-INF/tlds/code.tld new file mode 100644 index 00000000..7dd02b5f --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/code.tld @@ -0,0 +1,145 @@ + + + Common Code tag library + Common Code tag library + 1.0 + code + + + select box JSTL + select + cokr.xit.fims.framework.support.tag.code.CodeSelectBoxTag + JSP + + type + false + true + + + grpId + false + true + + + etc_1 + false + true + + + etc_2 + false + true + + + etc_3 + false + true + + + id + true + true + + + name + true + + + title + true + true + + + defaultSelect + true + + + isEmptySelect + true + + + emptyMessageKey + true + + + cls + true + + + alt + true + + + onchange + true + + + disabled + true + + + display + true + + + + radio + cokr.xit.fims.framework.support.tag.code.CodeRadioBoxTag + JSP + + grpId + false + true + + + type + false + true + + + etc_1 + false + true + + + etc_2 + false + true + + + etc_3 + false + true + + + id + true + true + + + name + true + true + + + defaultSelect + true + + + cls + true + + + alt + true + + + onclick + true + + + + diff --git a/src/main/webapp/WEB-INF/tlds/egovc.tld b/src/main/webapp/WEB-INF/tlds/egovc.tld new file mode 100644 index 00000000..4dfd19b8 --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/egovc.tld @@ -0,0 +1,552 @@ + + + + + Egov CrossSite Tag Replace Special Html Code Convert(JSTL 1.1 core library 기반) + Egov JSTL core + 1.1 + egovc + + + Catches any Throwable that occurs in its body and optionally + exposes it. + + catch + org.apache.taglibs.standard.tag.common.core.CatchTag + JSP + + +Name of the exported scoped variable for the +exception thrown from a nested action. The type of the +scoped variable is the type of the exception thrown. + + var + false + false + + + + + + Simple conditional tag that establishes a context for + mutually exclusive conditional operations, marked by + <when> and <otherwise> + + choose + org.apache.taglibs.standard.tag.common.core.ChooseTag + JSP + + + + + Simple conditional tag, which evalutes its body if the + supplied condition is true and optionally exposes a Boolean + scripting variable representing the evaluation of this condition + + if + org.apache.taglibs.standard.tag.rt.core.IfTag + JSP + + +The test condition that determines whether or +not the body content should be processed. + + test + true + true + boolean + + + +Name of the exported scoped variable for the +resulting value of the test condition. The type +of the scoped variable is Boolean. + + var + false + false + + + +Scope for var. + + scope + false + false + + + + + + Retrieves an absolute or relative URL and exposes its contents + to either the page, a String in 'var', or a Reader in 'varReader'. + + import + org.apache.taglibs.standard.tag.rt.core.ImportTag + org.apache.taglibs.standard.tei.ImportTEI + JSP + + +The URL of the resource to import. + + url + true + true + + + +Name of the exported scoped variable for the +resource's content. The type of the scoped +variable is String. + + var + false + false + + + +Scope for var. + + scope + false + false + + + +Name of the exported scoped variable for the +resource's content. The type of the scoped +variable is Reader. + + varReader + false + false + + + +Name of the context when accessing a relative +URL resource that belongs to a foreign +context. + + context + false + true + + + +Character encoding of the content at the input +resource. + + charEncoding + false + true + + + + + + The basic iteration tag, accepting many different + collection types and supporting subsetting and other + functionality + + forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag + org.apache.taglibs.standard.tei.ForEachTEI + JSP + + +Collection of items to iterate over. + + items + false + true + java.lang.Object + + + +If items specified: +Iteration begins at the item located at the +specified index. First item of the collection has +index 0. +If items not specified: +Iteration begins with index set at the value +specified. + + begin + false + true + int + + + +If items specified: +Iteration ends at the item located at the +specified index (inclusive). +If items not specified: +Iteration ends when index reaches the value +specified. + + end + false + true + int + + + +Iteration will only process every step items of +the collection, starting with the first one. + + step + false + true + int + + + +Name of the exported scoped variable for the +current item of the iteration. This scoped +variable has nested visibility. Its type depends +on the object of the underlying collection. + + var + false + false + + + +Name of the exported scoped variable for the +status of the iteration. Object exported is of type +javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested +visibility. + + varStatus + false + false + + + + + + Iterates over tokens, separated by the supplied delimeters + + forTokens + org.apache.taglibs.standard.tag.rt.core.ForTokensTag + JSP + + +String of tokens to iterate over. + + items + true + true + java.lang.String + + + +The set of delimiters (the characters that +separate the tokens in the string). + + delims + true + true + java.lang.String + + + +Iteration begins at the token located at the +specified index. First token has index 0. + + begin + false + true + int + + + +Iteration ends at the token located at the +specified index (inclusive). + + end + false + true + int + + + +Iteration will only process every step tokens +of the string, starting with the first one. + + step + false + true + int + + + +Name of the exported scoped variable for the +current item of the iteration. This scoped +variable has nested visibility. + + var + false + false + + + +Name of the exported scoped variable for the +status of the iteration. Object exported is of +type +javax.servlet.jsp.jstl.core.LoopTag +Status. This scoped variable has nested +visibility. + + varStatus + false + false + + + + + + Like <%= ... >, but for expressions. + + out + egovframework.com.cmm.EgovComCrossSiteHndlr + JSP + + +Expression to be evaluated. + + value + true + true + + + +Default value if the resulting value is null. + + default + false + true + + + +Determines whether characters <,>,&,'," in the +resulting string should be converted to their +corresponding character entity codes. Default value is +true. + + escapeXml + false + true + + + + + + + Subtag of <choose> that follows <when> tags + and runs only if all of the prior conditions evaluated to + 'false' + + otherwise + org.apache.taglibs.standard.tag.common.core.OtherwiseTag + JSP + + + + + Adds a parameter to a containing 'import' tag's URL. + + param + org.apache.taglibs.standard.tag.rt.core.ParamTag + JSP + + +Name of the query string parameter. + + name + true + true + + + +Value of the parameter. + + value + false + true + + + + + + Redirects to a new URL. + + redirect + org.apache.taglibs.standard.tag.rt.core.RedirectTag + JSP + + +The URL of the resource to redirect to. + + url + false + true + + + +Name of the context when redirecting to a relative URL +resource that belongs to a foreign context. + + context + false + true + + + + + + Removes a scoped variable (from a particular scope, if specified). + + remove + org.apache.taglibs.standard.tag.common.core.RemoveTag + empty + + +Name of the scoped variable to be removed. + + var + true + false + + + +Scope for var. + + scope + false + false + + + + + + Sets the result of an expression evaluation in a 'scope' + + set + org.apache.taglibs.standard.tag.rt.core.SetTag + JSP + + +Name of the exported scoped variable to hold the value +specified in the action. The type of the scoped variable is +whatever type the value expression evaluates to. + + var + false + false + + + +Expression to be evaluated. + + value + false + true + + + +Target object whose property will be set. Must evaluate to +a JavaBeans object with setter property property, or to a +java.util.Map object. + + target + false + true + + + +Name of the property to be set in the target object. + + property + false + true + + + +Scope for var. + + scope + false + false + + + + + + Creates a URL with optional query parameters. + + url + org.apache.taglibs.standard.tag.rt.core.UrlTag + JSP + + +Name of the exported scoped variable for the +processed url. The type of the scoped variable is +String. + + var + false + false + + + +Scope for var. + + scope + false + false + + + +URL to be processed. + + value + false + true + + + +Name of the context when specifying a relative URL +resource that belongs to a foreign context. + + context + false + true + + + + + + Subtag of <choose> that includes its body if its + condition evalutes to 'true' + + when + org.apache.taglibs.standard.tag.rt.core.WhenTag + JSP + + +The test condition that determines whether or not the +body content should be processed. + + test + true + true + boolean + + + + diff --git a/src/main/webapp/WEB-INF/tlds/privacy.tld b/src/main/webapp/WEB-INF/tlds/privacy.tld new file mode 100644 index 00000000..4d85050c --- /dev/null +++ b/src/main/webapp/WEB-INF/tlds/privacy.tld @@ -0,0 +1,39 @@ + + + Common Code tag library + Common Code tag library + 1.0 + privacy + + + 주민번호 입력 box JSTL + input + cokr.xit.fims.framework.support.tag.privacy.input + JSP + + id + true + true + + + name + true + + + cls + true + + + disabled + true + + + readonly + true + + + +