목록Client (65)
써먹는 웹개발
1. 나의 경우 파라미터에 @ModelAttribute("queryParam") QueryParams queryParams 가 없었다. 1 2 3 4 5 @GetMapping(value = {"", "/"}) public String forwardMain(Model model, @ModelAttribute("queryParams") QueryParams queryParams) { return "views/main/index"; } Colored by Color Scripter cs 2. 백앤드에서 문제가 없는데 프론트에서 문제가 생기는 경우 - name의 상위 변수 뒤에 ?를 붙여줄 것 1 ${member?.name} cs 2번 참고 : https://spacedev.tistory.com/7
URI (Uniform Resource Identifier) : 통합 자원 식별자 URL (Uniform Resource Locator) : 통합 자원 위치 예시 URI가 URL 상위개념이고, URI는 모든 자원을 통칭하며, URL은 그 중에서 실제하는 파일의 주소를 나타낸다.
websquare에서 grid의 customformatter를 쓸때 문제점은 엑셀 다운로드에서 해당 컬럼이 출력되지 않는 것입니다. 내가 해결한 방법은 크게 두가지인데, 첫번째는 displayformatter를 써서 값을 가져오는 방법이고, 두번째는 쿼리문을 수정해서 가져오는 방법입니다. displayformatter 사용법 function disp(value){ if (value == true){ return 1; } else { return 2; } }
deleteRow 기능은 그리드 행삭제 표시만 d로 변경하는 것이고, 실제로 행이 삭제되는 기능은 removeRow(행번호 인덱스)입니다. 사용방법 그리드명.removeRow(행번호 인덱스);
tui editor > tui-datepicker-input 태그 1. 날짜(숫자)만 입력 ※ datepicker는 바('-') format이 자동으로 처리되기 때문에 입력 안해도 됩니다. ex. 2020-04-17 입력 시, 2020-04-17 출력 2. 크롬에서 입력했던 데이터 기록 해당태그에서 안보이는 방법
출처 : https://break-over.tistory.com/36
크롬 디버깅 콘솔에 'editor-element-conflict' 뜰때 해결방법입니다. 현상 원인 CKEDITOR.replace('CONTENT(textArea의 name명)',{ height : 300 }); 해결방법 ev.editor.resize( '100%' , 300 ); 참조 : https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-resize
모듈 추가 방법 1. 모듈을 plugins 폴더 아래에 추가하고 ex. (해당 모듈의) 폴더명 : base64image 2. /common/js/plugins/ckeditor/ckeditor/ 폴더안에 config.js 파일에 다음 소스를 추가합니다. CKEDITOR.editorConfig = function( config ) { config.extraPlugins = 'base64image'; }; 모듈 추가시 주의사항 - 폴더명에 '-'를 붙이면 웹 화면에서 ckeditor를 못 불러올 수 있습니다. ex. (해당 모듈의) 폴더명 : base64image-module