|
|
@ -42,6 +42,9 @@ public class CodeSelectBoxTag extends TagSupport {
|
|
|
|
private String onchange = "";
|
|
|
|
private String onchange = "";
|
|
|
|
private boolean disabled = false;
|
|
|
|
private boolean disabled = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 공통코드가 아닌경우 구분 코드
|
|
|
|
|
|
|
|
private String type = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int doStartTag() throws JspException {
|
|
|
|
public int doStartTag() throws JspException {
|
|
|
|
JspWriter out = pageContext.getOut();
|
|
|
|
JspWriter out = pageContext.getOut();
|
|
|
@ -73,7 +76,7 @@ public class CodeSelectBoxTag extends TagSupport {
|
|
|
|
// paraMap.put("etc_2", this.etc_2);
|
|
|
|
// paraMap.put("etc_2", this.etc_2);
|
|
|
|
// paraMap.put("etc_3", this.etc_3);
|
|
|
|
// paraMap.put("etc_3", this.etc_3);
|
|
|
|
|
|
|
|
|
|
|
|
List<Map<String, Object>> list = CacheServiceUtils.getComboCodes(codeId);
|
|
|
|
List<Map<String, Object>> list = CacheServiceUtils.getComboCodes(codeId, type);
|
|
|
|
|
|
|
|
|
|
|
|
for (Map<String, Object> map : list) {
|
|
|
|
for (Map<String, Object> map : list) {
|
|
|
|
//out.print("<option value='"+map.get("CODE")+"' "+isDefaultSelect((String) map.get("CODE"))+">"+map.get("CODE_NM")+"</option>");
|
|
|
|
//out.print("<option value='"+map.get("CODE")+"' "+isDefaultSelect((String) map.get("CODE"))+">"+map.get("CODE_NM")+"</option>");
|
|
|
|