select2 사용시 코드로 값을 세팅할 때 trigger 추가해서 UI 값 변경해주는 코드 추가. +어댑터 업무구문
select2 사용.
This commit is contained in:
@@ -280,6 +280,8 @@ function init(key,callback){
|
|||||||
callback(key);
|
callback(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('select[name=EAIBZWKDSTCD]').select2();
|
||||||
|
|
||||||
},
|
},
|
||||||
error:function(e){
|
error:function(e){
|
||||||
alert(e.responseText);
|
alert(e.responseText);
|
||||||
@@ -328,6 +330,8 @@ function detail(key){
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('select[name=EAIBZWKDSTCD]').trigger('change');
|
||||||
|
|
||||||
|
|
||||||
//adapter
|
//adapter
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=utf-8"%>
|
<%@ page language="java" contentType="text/html; charset=utf-8"%>
|
||||||
<%@ page import="java.io.*"%>
|
<%@ page import="java.io.*"%>
|
||||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
<%@ include file="/jsp/common/include/localemessage.jsp" %>
|
<%@ include file="/jsp/common/include/localemessage.jsp" %>
|
||||||
@@ -512,6 +512,9 @@
|
|||||||
$("#toResponseAdapter").change();
|
$("#toResponseAdapter").change();
|
||||||
|
|
||||||
$("#apiFullPath").val(data["apiFullPath"]); // 스펙 전달용 값
|
$("#apiFullPath").val(data["apiFullPath"]); // 스펙 전달용 값
|
||||||
|
|
||||||
|
$('#inboundHttpMethod').trigger('change');
|
||||||
|
$('#outboundHttpMethod').trigger('change');
|
||||||
},
|
},
|
||||||
error:function(e){
|
error:function(e){
|
||||||
alert(e.responseText);
|
alert(e.responseText);
|
||||||
@@ -2049,4 +2052,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div><!-- end right_box -->
|
</div><!-- end right_box -->
|
||||||
</body>
|
</body>
|
||||||
|
</html>loneInterfaceButton">복제</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- end right_box -->
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user