|
|
|
@ -41,6 +41,9 @@ public class CodeSelectBoxTag extends TagSupport {
|
|
|
|
|
private String alt = "";
|
|
|
|
|
private String onchange = "";
|
|
|
|
|
private boolean disabled = false;
|
|
|
|
|
|
|
|
|
|
// 공통코드가 아닌경우 구분 코드
|
|
|
|
|
private String type = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int doStartTag() throws JspException {
|
|
|
|
@ -73,7 +76,7 @@ public class CodeSelectBoxTag extends TagSupport {
|
|
|
|
|
// paraMap.put("etc_2", this.etc_2);
|
|
|
|
|
// 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) {
|
|
|
|
|
//out.print("<option value='"+map.get("CODE")+"' "+isDefaultSelect((String) map.get("CODE"))+">"+map.get("CODE_NM")+"</option>");
|
|
|
|
|