jenkins에서 ant나 maven으로 PMD를 실행하여 검출한 위반 사항과 eclipese plugin의 위반사항을 같게 보고싶었는데
설명잘 안되있는듯...
아래와 같이 사용이 가능하다.
이클립스 환경설정 > PMD > file filter
exclude 또는 include
.*fides.*
.*org.springframework.*
.*xml.*
jenkins에서 ant나 maven으로 PMD를 실행하여 검출한 위반 사항과 eclipese plugin의 위반사항을 같게 보고싶었는데
설명잘 안되있는듯...
아래와 같이 사용이 가능하다.
이클립스 환경설정 > PMD > file filter
exclude 또는 include
.*fides.*
.*org.springframework.*
.*xml.*
아래 코드를 돌려보면 이유를 알수 있습니다.
input form에서 엔터를 쳤을때.
1번 : 반응없음
2번 : submit
3번 : button의 이벤트 발생 (여러개일때 가장 앞의 버튼의 이벤트 호출)
4번 : 반응없음.
FORM 안에 BUTTON을 사용한다면 type="button" 속성을 추가해야 합니다.
button type = { button | submit | reset } 이고 브라우저마다 default type이 다를수 있네요.
글고 IE8 Standards mode에서 default type=submit 이라고 하네요.
Remarks
The default value of the type attribute depends on the current document compatibility mode. The default value is submit. In other compatibility modes the default value is button.
When the BUTTON element is submitted in a form, the value depends on the current document compatibility mode.
Windows Internet Explorer 8 and later. The default value of the type attribute depends on the current document compatibility mode. In IE8 Standards mode, the default value is submit. In other compatibility modes and earlier versions of Windows Internet Explorer, the default value is button.
ie9 이하에서의 placeholder 사용. (0) | 2015.03.18 |
---|---|
bootstrap Glyphicons + font awesome (0) | 2015.03.18 |
jQuery Waypoints 스크롤 이벤트 (0) | 2015.03.18 |
widget 컴포넌트 gridster (0) | 2015.03.18 |
carousel(캐러셀) UI (0) | 2015.03.17 |