{"action":"created","issue":{"url":"https://api.github.com/repos/axisj-com/axisj/issues/469","labels_url":"https://api.github.com/repos/axisj-com/axisj/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/axisj-com/axisj/issues/469/comments","events_url":"https://api.github.com/repos/axisj-com/axisj/issues/469/events","html_url":"https://github.com/axisj-com/axisj/issues/469","id":63167765,"number":469,"title":"AXSearch selectbox AXBind 처리","user":{"login":"zeroty","id":1608782,"avatar_url":"https://avatars.githubusercontent.com/u/1608782?v=3","gravatar_id":"","url":"https://api.github.com/users/zeroty","html_url":"https://github.com/zeroty","followers_url":"https://api.github.com/users/zeroty/followers","following_url":"https://api.github.com/users/zeroty/following{/other_user}","gists_url":"https://api.github.com/users/zeroty/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroty/subscriptions","organizations_url":"https://api.github.com/users/zeroty/orgs","repos_url":"https://api.github.com/users/zeroty/repos","events_url":"https://api.github.com/users/zeroty/events{/privacy}","received_events_url":"https://api.github.com/users/zeroty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-20T05:29:10Z","updated_at":"2015-03-23T08:11:55Z","closed_at":null,"body":"안녕하세요.\r\n\r\nAXSearch에서 selectbox타입을 아래와 같이 추가하다가 발견한건데요.\r\n\r\n    {label:\"고객사\", labelWidth:\"100\", type:\"selectBox\", width:\"\", key:\"BP_CD\", addClass:\"\", valueBoxStyle:\"\", value:\"\",\r\n\t                              options: [],\r\n\t                              AXBind: {\r\n\t                                  type: \"select\", config: {\r\n\t                                \t  \r\n\t                                \t  reserveKeys: {\r\n\t         \t                  \t\t\t\toptions: \"systemInfoList\",\r\n\t         \t                  \t\t\t\toptionValue: \"SYS_NO\",\r\n\t         \t                  \t\t\t\toptionText: \"SYS_NAME\"\r\n\t         \t                  \t\t\t },\r\n\t         \t                  \t\t\t \r\n\t                                \tcontentType: \"application/json; charset=utf-8\", //추가해도 text/html으로 전송하여 java method매핑이 안됨.\r\n\t                                \tdataType: \"json\",\r\n\t                                  \tajaxUrl: \"/json/getMaCodes.json\",\r\n\t                                  \tajaxPars: {}, \r\n\t                                  \tajaxAsync: true,\r\n\t\t\t\t\t\t\t\t\t\tisspace: true, isspaceTitle: \"선택하세요\",\r\n\t\t\t\t\t\t\t\t\t\tsetValue: \"\",\r\n\t\t\t\t\t\t\t\t\t\talwaysOnChange: true,\r\n\t                                     onChange: function() {\r\n\t                                  \t}\r\n\t                                  }\r\n\t                              }\r\n\t                          },\r\n\r\n위와 같이 ContentType을 json타입으로 전송하고 싶어서 아래와 같이 임시로 소스를 수정하여 쓰고 있\r\n\r\n습니다.\r\n\r\nbindSelect: function (objID, objSeq) {\r\n...\r\nif (obj.config.ajaxUrl) {\r\n\r\n\t\t\tvar url = obj.config.ajaxUrl;\r\n\t\t\tvar pars = obj.config.ajaxPars;\r\n\t\t\tvar contentType =  obj.config.contentType; //임의대로 추가함\r\n...\r\nnew AXReq(url, { \r\n\t                contentType: contentType, //임의대로 추가함.\r\n\r\nbindSelect에도 contentType변경할 수 있도록 보완 부탁드립니다.\r\n\r\n또 한가지는,\r\n\r\nselectbox를 동시에 여러개 ajax로 가져오면 가장 마지막에 가져온 값 기준으로 앞에 셀렉스박스도 다 바뀌는 현상이 있네요."},"comment":{"url":"https://api.github.com/repos/axisj-com/axisj/issues/comments/84876009","html_url":"https://github.com/axisj-com/axisj/issues/469#issuecomment-84876009","issue_url":"https://api.github.com/repos/axisj-com/axisj/issues/469","id":84876009,"user":{"login":"zeroty","id":1608782,"avatar_url":"https://avatars.githubusercontent.com/u/1608782?v=3","gravatar_id":"","url":"https://api.github.com/users/zeroty","html_url":"https://github.com/zeroty","followers_url":"https://api.github.com/users/zeroty/followers","following_url":"https://api.github.com/users/zeroty/following{/other_user}","gists_url":"https://api.github.com/users/zeroty/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroty/subscriptions","organizations_url":"https://api.github.com/users/zeroty/orgs","repos_url":"https://api.github.com/users/zeroty/repos","events_url":"https://api.github.com/users/zeroty/events{/privacy}","received_events_url":"https://api.github.com/users/zeroty/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T08:11:55Z","updated_at":"2015-03-23T08:11:55Z","body":"아 dev브랜치가 별도로 있었네요. dev브랜치에서 받아서 테스트해보니 잘되네요. 감사합니다.\r\n"}}