본문 바로가기

Develop

(147)
어플리케이션/프로젝트는 무엇입니까? 어플리케이션/프로젝트는 무엇입니까? 당신은 템플릿으로 CQ5 요소를 저장할 위치를 응용 프로그램 / 프로젝트이며, 컴포넌트, OSGi 번들 및 소스 파일입니다. 새로운 응용 프로그램을 시작하기 위해 / 프로젝트는, 이들 요소의 위치를 정의하는 것이 필요하다. 일반적으로, 그들은 의 하위 폴더로 정의됩니다 / 폴더를 앱. 날 당신이 만드는 것이 좋습니다 응용 프로그램 / 프로젝트에 대한 다음과 같은 구조 : Structure Description /apps/ The application container /apps// The Components container components /apps// The “Page” Components container components/page /apps// A loca..
Java - Null Check 및 String 비교 ============================ Java Programming Tip ① ==============================객체의 메소드를 사용할 때 반드시 객체가 null 인지 여부를 먼저 체크해야 합니다.// 1. bad if (param.equals("cust_id")) {}// 2. good if (param != null && param.equals("cust_id")) {}// 3. good, too if ("cust_id".equals(param)) {}1번의 경우 param 이 null 이면 NullPointException이 발생합니다. NullPointException을 handling하지 않은경우 WAS에서 제대로 처리하지 못해 메모리 누수 및 WAS 장애의 원..
Adobe EXPERIENCE MANAGEMENT CQ Developer Tricks Adobe EXPERIENCE MANAGEMENT CQ Developer TricksinShare While working with Adobe CQ5 every now and then you discover some new tricks or options, here the list that I use daily:Remove #cf/ Don’t want to see/wait for the content-finder while refereshing pages, just remove #cf/ in your url.?debug=layout Shows you all details of the components used on your page?debugConsole=true Runs Firebug Lite ins..
aem 403 Sling Post servlet 403 Sling Post servlet http://stackoverflow.com/questions/36564387/403-sling-post-servlet 403 Sling Post servlet Sumanta Pakira I'm following this blog post. But I'm getting 403 error in AEM 6.1. I do not want to change in 'Apache Sling Referrer Filter'. I think this error is coming because of CSRF token which I can get by calling /libs/granite/csrf/token.json But how can I add this CSRF token i..
editplus 특정 문자 포함된 라인 삭제 editplus 특정 문자 포함된 라인 삭제AAA123 BBB456 CCC145 CCC122 DDD344 CCC432 EEE333 FFF135 GGG333CCC포함 문자열 삭제[에디트 플러스] 컨트롤 + H 찾을 말 : ^CCC(.*)$ 또는 ^(.*)CCC(.*)$ 바꿀말 : 빈공간 정규식 체크해야함.[VI] :%g/CCC/d 1.ctrl+H. 2. ex)00:01:52,585 --> 00:01:55,955 형식의 라인을 삭제 하려면→editplus의 검색에서 와일드카드는 '*' 가 아닌 '.' 임. 즉 00:01:52,585 --> 00:01:55,955 는 0.:..:..,... --> 0.:..:..,...으로 입력하고 아래는 공란으로 놓아두고.옵션에 검색식 체크 → 모두 바꿈 체크 결과: 00:..
aem decoration tags remove global.jsp 선언if (WCMMode.fromRequest(request) != WCMMode.EDIT && WCMMode.fromRequest(request) != WCMMode.DESIGN) { componentContext.setDefaultDecorationTagName(""); } 참고 :http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__bvjz-hi_from_a_ear.html 관련 :https://helpx.adobe.com/experience-manager/kb/ComponentDiv.html
AEM Tag properties Title: currentPage Title: Name: Path: Depth: currentNode Title: Name: Path: Depth: Result :properties Title: vision-gcurrentPage Title: vision-g Name: vision-g Path: /content/genesis/us/en/vision-g Depth: 5currentNode Title: vision-g Name: jcr:content Path: /content/genesis/us/en/vision-g/jcr:content Depth: 6 /content/genesis/us/en/vision-g
[JAVA] 자바 문자열 함수 [JAVA] 자바 문자열 함수 startWith: 문자열이 지정한 문자로 시작하는지 판단 같으면 true반환 아니면 false를 반환한다.(대소문자구별)String str = "apple";boolean startsWith = str.startsWith("a");System.out.println("startsWith: " + startsWith);결과값:trueendWith:문자열 마지막에 지정한 문자가 있는지를 판단후 있으면 true, 없으면 false를 반환한다.(대소문자구별)String str = "test";boolean endsWith = str.endsWith("t");System.out.println("endsWith: " + endsW..