jQuery contextMenu를 활용해 우클릭 메뉴 만들기

위에 보이는 css 와 js 들이 필요합니다. 우클릭 할 영역을 만들어 줍니다. right click meCopy 영역에 초기 설정 코드를 넣어줍니다. $(function(){ $.contextMenu({ selector: '.context-menu-one', items: { // name: { name: "Text", type: 'text', value: "Hello World", events: { keyup: function(e) { // add some fancy key handling here? window.console && console.log('key: '+ e.keyCode); } } }, sep1: "---------", // yesno: { n..

Programming/javascrlpt 2021.06.05
서블릿에서 한글 쿠키 사용하기. An invalid character [32] was present in the Cookie value 해결하기.

Cookie에 간단하게 String 데이터를 넣는데 에러가 발생했습니다. SEVERE: Servlet.service() for servlet [springDispatcherServlet] in context with path [/gaia] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie value] with root cause java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie v..

Programming/JPA ⁄ Spring 2021.06.04
이제 alert 대신 toastr 사용하자 ! Toastr 사용 하기

https://github.com/CodeSeven/toastr toastr is a Javascript library for non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended. toastr 이란 ? toastr 은 non-blocking 알람을 띄우는 Javasript 라이브러리 입니다. jQuery 가 필요합니다 여러가지 다양한 옵션을 줄 수 있지만 간단하게 사용 할 수 있도록 쉽게 설명을 해 드리겠습니다. 테스트 먼저 위의 기본적인 html 코드를 실행해보면 정말 기본적으로, '테스트' 버튼을 눌렀을때 hi ..

Programming/javascrlpt 2021.06.04
org.apache.ibatis.reflection.ReflectionException:There is no getter for property named 해결하기

org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ' kb_card_priv_no' in 'class best.gaia.vo.KanbanCardVO' at org.apache.ibatis.reflection.Reflector.getGetInvoker(Reflector.java:374) at org.apache.ibatis.reflection.MetaClass.getGetInvoker(MetaClass.java:164) at org.apache.ibatis.reflection.wrapper.BeanWrapper.getBeanProperty(BeanWrapper.java:162) at org.apach..

Programming/JPA ⁄ Spring 2021.06.03
Oracle 중복되는 데이터에는 같은 숫자 주며 순서 맥이기 . 윈도우 함수 DENSE_RANK()

json 에서 issue 들을 받아오는 페이지가 있습니다. 아직 페이징 처리가 되지 않고 있기 때문에 데이터가 많은데요 위에서 보이는 것 처럼 Collection 들을 가지고 있다 보니 쿼리 결과문에서 겹치는 부분이 꽤 있습니다. 페이징을 위해 rownum 을 보통 먹이곤 했는데, rownum을 줬다가는 같은 PK를 가진 친구들도 각기 다른 rownum을 가지기 때문에 제대로 된 페이징 처리가 될 수 없습니다. 이럴때는, 오라클의 윈도우 함수를 이용해서 번호를 주면 됩니다. 일단 기존의 쿼리문과 결과문입니다. select rownum as rn,a.* from ( SELECT ISSUE.ISSUE_SID AS ISSUE_ID ,ISSUE_NO ,ISSUE.PROJ_NO ,ISSUE_TITLE ,ISSUE..

Data/Oracle 2021.06.03